mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-18 03:15:07 +00:00
Fix a todo
This commit is contained in:
1 parent
6fc22e19da
commit
8f12fbde20
2 files changed
+3
-1
No files matched your search
@@ -128,7 +128,7 @@ public final class ToolCommons {
|
||||
return 0;
|
||||
|
||||
ItemTool tool = (ItemTool) item;
|
||||
ToolMaterial material = ToolMaterial.DIAMOND; // tool.getToolMaterial(); todo 1.12
|
||||
ToolMaterial material = tool.toolMaterial;
|
||||
int materialLevel = 0;
|
||||
if(material == BotaniaAPI.manasteelToolMaterial)
|
||||
materialLevel = 10;
|
||||
|
||||
Reference in new issue
Block a user