mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-07-13 11:04:42 +02:00
It have to be static.
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user