A few bug fixes

This commit is contained in:
Aidan C. Brady 2015-02-27 10:09:28 -05:00
parent 84ab0ecb3f
commit c4c2f97170
3 changed files with 9 additions and 4 deletions

View file

@ -550,7 +550,7 @@ public class BlockMachine extends BlockContainer implements ISpecialBounds, IPer
if(MekanismUtils.hasUsableWrench(entityplayer, x, y, z))
{
if(entityplayer.isSneaking() && metadata != 13)
if(entityplayer.isSneaking() && MachineType.get(world.getBlock(x, y, z), metadata) != MachineType.ELECTRIC_CHEST)
{
dismantleBlock(world, x, y, z, false);
return true;

View file

@ -3,6 +3,7 @@ package mekanism.common.tile;
import io.netty.buffer.ByteBuf;
import java.util.ArrayList;
import java.util.EnumSet;
import mekanism.api.Coord4D;
import mekanism.api.MekanismConfig.general;
@ -93,6 +94,12 @@ public class TileEntityLaser extends TileEntityNoisyElectricBlock implements IAc
}
}
@Override
protected EnumSet<ForgeDirection> getConsumingSides()
{
return EnumSet.of(ForgeDirection.getOrientation(facing).getOpposite());
}
@Override
public void setActive(boolean active)
{

View file

@ -55,9 +55,7 @@ public class TileEntityReactorController extends TileEntityReactorBlock implemen
return false;
}
public void radiateNeutrons(int neutrons)
{
}
public void radiateNeutrons(int neutrons) {} //future impl
public void formMultiblock()
{