Polish to the reactor
This commit is contained in:
parent
b506c2e091
commit
7db2e0dc8c
6 changed files with 132 additions and 76 deletions
|
@ -54,6 +54,8 @@ public class BlockFusionControlComputer extends BlockMachineBase {
|
|||
@Override
|
||||
public boolean onBlockActivated(World world, int x, int y, int z,
|
||||
EntityPlayer player, int side, float hitX, float hitY, float hitZ) {
|
||||
TileEntityFusionController tileEntityFusionController = (TileEntityFusionController) world.getTileEntity(x, y, z);
|
||||
tileEntityFusionController.checkCoils();
|
||||
if (!player.isSneaking())
|
||||
player.openGui(Core.INSTANCE, GuiHandler.fusionID, world, x, y,
|
||||
z);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue