Fix broken tools AOE harvesting and harvesting stuff above stone level.

Due to how forge/MC does things it's not possible to prevent stone-level from being harvested without extra events.
Closes #1775
This commit is contained in:
Bernhard Bonigl committed 2015-10-27 19:15:06 +01:00
1 parent 75b97cf4f9
commit dad8ab969c
2 files changed
+8 -2

No files matched your search

@@ -58,7 +58,7 @@ public abstract class HarvestTool extends ToolCore
NBTTagCompound tags = stack.getTagCompound().getCompoundTag("InfiTool");
// broken tools suck.
if (tags.getBoolean("Broken"))
return -1;
return 0;
// tadaaaa
return tags.getInteger("HarvestLevel");