It have to be static.

This commit is contained in:
Cybermaxke 2012-06-06 16:57:45 +03:00
parent e9ea0e0389
commit 36ff532df9

View File

@ -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);