more fixes

This commit is contained in:
Progwml6 committed 2014-01-09 04:08:38 -05:00
1 parent eba66e0182
commit fb04e8eb08
55 files changed
+1446 -1442

No files matched your search

@@ -59,9 +59,9 @@ public class TActiveOmniMod extends ActiveToolMod
NBTTagCompound tags = stack.getTagCompound().getCompoundTag("InfiTool");
World world = entity.worldObj;
int bID = entity.worldObj.getBlockId(x, y, z);
Block block = entity.worldObj.getBlock(x, y, z);
int meta = world.getBlockMetadata(x, y, z);
Block block = Block.blocksList[bID];
//TODO do we need the next to lines????????
if (block == null || bID < 1 || bID > 4095)
return false;