mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-28 16:16:47 +01:00
It have to be static.
This commit is contained in:
parent
e9ea0e0389
commit
36ff532df9
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user