mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-27 23:45:48 +00:00
Daggers
This commit is contained in:
1 parent
7b242f5141
commit
4c8b172068
150 files changed
+487
-350
No files matched your search
@@ -47,7 +47,8 @@ public class ModAttack extends ToolMod
|
||||
if (tags.hasKey(key))
|
||||
{
|
||||
int amount = 24;
|
||||
if (((ToolCore) tool.getItem()).pierceArmor())
|
||||
ToolCore toolItem = (ToolCore) tool.getItem();
|
||||
if (toolItem.pierceArmor() || toolItem.rangedTool())
|
||||
amount = 36;
|
||||
|
||||
int[] keyPair = tags.getIntArray(key);
|
||||
|
||||
Reference in new issue
Block a user