mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-13 16:54:16 +00:00
A few bug fixes
This commit is contained in:
1 parent
84ab0ecb3f
commit
c4c2f97170
3 files changed
+9
-4
No files matched your search
@@ -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;
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
+1
-3
@@ -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()
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user