mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-19 19:59:55 +00:00
First armor modifier
This commit is contained in:
1 parent
8b154a9cb4
commit
90f09b7e2d
12 files changed
+299
-19
No files matched your search
@@ -493,6 +493,15 @@ public class ToolBuilder
|
||||
|
||||
public static void registerToolMod (ToolMod mod)
|
||||
{
|
||||
if (mod == null)
|
||||
throw new NullPointerException("Tool modifier cannot be null.");
|
||||
instance.toolMods.add(mod);
|
||||
}
|
||||
|
||||
public static void registerArmorMod(ArmorMod mod)
|
||||
{
|
||||
if (mod == null)
|
||||
throw new NullPointerException("Armor modifier cannot be null.");
|
||||
instance.armorMods.add(mod);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user