mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-26 06:52:58 +00:00
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:
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");
|
||||
|
||||
Reference in new issue
Block a user