mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-19 03:49:29 +00:00
more fixes
This commit is contained in:
1 parent
48402e1a7e
commit
ffd383dc41
44 files changed
+224
-205
No files matched your search
@@ -68,14 +68,14 @@ public class ItemBlockLandmine extends ItemBlock
|
||||
{
|
||||
TRepo.landmine.func_149689_a(world, x, y, z, player, stack);
|
||||
|
||||
TileEntityLandmine te = (TileEntityLandmine) world.getBlockTileEntity(x, y, z);
|
||||
TileEntityLandmine te = (TileEntityLandmine) world.func_147438_o(x, y, z);
|
||||
if (te == null)
|
||||
{
|
||||
te = (TileEntityLandmine) TRepo.landmine.createTileEntity(world, metadata);
|
||||
}
|
||||
|
||||
te.triggerType = stack.getItemDamage();
|
||||
world.setBlockTileEntity(x, y, z, te);
|
||||
world.func_147455_a(x, y, z, te);
|
||||
|
||||
TRepo.landmine.func_149714_e(world, x, y, z, metadata);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user