moar fixy thingies

This commit is contained in:
Progwml6 committed 2014-01-30 20:34:22 -05:00
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;