mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-19 19:59:55 +00:00
moar fixy thingies
This commit is contained in:
1 parent
4326ff3c64
commit
bb98f77de4
26 files changed
+173
-139
No files matched your search
@@ -64,9 +64,9 @@ public class ItemBlockLandmine extends ItemBlock
|
||||
return false;
|
||||
}
|
||||
|
||||
if (world.getBlock(x, y, z) == TRepo.landmine)
|
||||
if (world.func_147439_a(x, y, z) == TRepo.landmine)
|
||||
{
|
||||
TRepo.landmine.onBlockPlacedBy(world, x, y, z, player, stack);
|
||||
TRepo.landmine.func_149689_a(world, x, y, z, player, stack);
|
||||
|
||||
TileEntityLandmine te = (TileEntityLandmine) world.getBlockTileEntity(x, y, z);
|
||||
if (te == null)
|
||||
@@ -77,7 +77,7 @@ public class ItemBlockLandmine extends ItemBlock
|
||||
te.triggerType = stack.getItemDamage();
|
||||
world.setBlockTileEntity(x, y, z, te);
|
||||
|
||||
TRepo.landmine.onPostBlockPlaced(world, x, y, z, metadata);
|
||||
TRepo.landmine.func_149714_e(world, x, y, z, metadata);
|
||||
}
|
||||
|
||||
return true;
|
||||
|
||||
Reference in new issue
Block a user