From 8697faac250204b9bccc351dc0a0a22b5d66da0a Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Wed, 18 Jan 2017 15:18:33 +0100 Subject: [PATCH] r98! --- build.gradle | 2 +- .../actuallyadditions/mod/blocks/BlockLaserRelay.java | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/build.gradle b/build.gradle index 40868965a..7bc3c7ead 100644 --- a/build.gradle +++ b/build.gradle @@ -14,7 +14,7 @@ buildscript { apply plugin: 'net.minecraftforge.gradle.forge' apply plugin: 'idea' -version = "1.10.2-r97" +version = "1.10.2-r98" group = "de.ellpeck.actuallyadditions" archivesBaseName = "ActuallyAdditions" diff --git a/src/main/java/de/ellpeck/actuallyadditions/mod/blocks/BlockLaserRelay.java b/src/main/java/de/ellpeck/actuallyadditions/mod/blocks/BlockLaserRelay.java index 9d03c348d..513aafd55 100644 --- a/src/main/java/de/ellpeck/actuallyadditions/mod/blocks/BlockLaserRelay.java +++ b/src/main/java/de/ellpeck/actuallyadditions/mod/blocks/BlockLaserRelay.java @@ -137,9 +137,9 @@ public class BlockLaserRelay extends BlockContainerBase implements IHudDisplay{ @Override public boolean onBlockActivated(World world, BlockPos pos, IBlockState state, EntityPlayer player, EnumHand hand, ItemStack stack, EnumFacing par6, float par7, float par8, float par9){ - TileEntityLaserRelay tile = (TileEntityLaserRelay)world.getTileEntity(pos); - if(tile instanceof TileEntityLaserRelayItem){ - TileEntityLaserRelayItem relay = (TileEntityLaserRelayItem)tile; + TileEntity tile = world.getTileEntity(pos); + if(tile instanceof TileEntityLaserRelay){ + TileEntityLaserRelay relay = (TileEntityLaserRelay)tile; if(StackUtil.isValid(stack) && stack.getItem() instanceof ItemCompass){ if(!world.isRemote){