Add command to plugin.yml because of 1.13

Brigadier should be used in the future. This will suffice for now.
This commit is contained in:
Magnus Ulf committed 2018-12-29 18:43:29 +01:00
1 parent 0ea4a86663
commit 3bc7008174
2 files changed
+8 -1

No files matched your search

+7
View File
@@ -6,6 +6,13 @@ description: ${project.description}
authors: [Cayorion]
load: startup
api-version: 1.13
commands:
mcore:
description: MassiveCore basecommand
permission: massivecore.basecommand
massivecore:
description: MassiveCore basecommand
permission: massivecore.basecommand
permissions:
# -------------------------------------------- #
# THE REAL NODES
@@ -215,7 +215,7 @@ public abstract class MassivePlugin extends JavaPlugin implements Listener, Name
// can only happen after others have been initialised.
public void activateOne(Object object)
{
boolean debug = true;//MassiveCoreMConf.get() != null && MassiveCoreMConf.get().debugEnabled;
boolean debug = MassiveCoreMConf.get() != null && MassiveCoreMConf.get().debugEnabled;
// Try collection
if (object instanceof Iterable)