mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-07-12 18:44:43 +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 spoutTool The tool to add
|
||||||
* @param type The type of 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) {
|
switch (type) {
|
||||||
case AXE:
|
case AXE:
|
||||||
spoutAxes.add(spoutTool);
|
spoutAxes.add(spoutTool);
|
||||||
|
Reference in New Issue
Block a user