From 36ff532df9af7cf3189c06018de9b063b7aa6cee Mon Sep 17 00:00:00 2001 From: Cybermaxke Date: Wed, 6 Jun 2012 16:57:45 +0300 Subject: [PATCH] It have to be static. --- src/main/java/com/gmail/nossr50/api/SpoutToolsAPI.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/gmail/nossr50/api/SpoutToolsAPI.java b/src/main/java/com/gmail/nossr50/api/SpoutToolsAPI.java index 69af239a9..b2ae9a2e9 100644 --- a/src/main/java/com/gmail/nossr50/api/SpoutToolsAPI.java +++ b/src/main/java/com/gmail/nossr50/api/SpoutToolsAPI.java @@ -22,7 +22,7 @@ public class SpoutToolsAPI { * @param spoutTool The tool to add * @param type The type of tool to add */ - public void addCustomTool(ItemStack spoutTool, ToolType type) { + public static void addCustomTool(ItemStack spoutTool, ToolType type) { switch (type) { case AXE: spoutAxes.add(spoutTool);