This commit is contained in:
Ellpeck 2017-01-18 15:18:33 +01:00
parent cb4ebe3aaa
commit 8697faac25
2 changed files with 4 additions and 4 deletions

View file

@ -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"

View file

@ -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){