go through items a bit

This commit is contained in:
Progwml6 committed 2014-01-05 10:52:01 -05:00
1 parent 67ccd5b7db
commit 199a92f47a
7 files changed
+20 -19

No files matched your search

@@ -59,12 +59,12 @@ public class ItemBlockLandmine extends ItemBlock
@Override
public boolean placeBlockAt (ItemStack stack, EntityPlayer player, World world, int x, int y, int z, int side, float hitX, float hitY, float hitZ, int metadata)
{
if (!world.setBlock(x, y, z, TRepo.landmine.blockID, metadata, 3))
if (!world.setBlock(x, y, z, TRepo.landmine, metadata, 3))
{
return false;
}
if (world.getBlockId(x, y, z) == TRepo.landmine.blockID)
if (world.getBlock(x, y, z) == TRepo.landmine)
{
TRepo.landmine.onBlockPlacedBy(world, x, y, z, player, stack);