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:
parent
0ea4a86663
commit
3bc7008174
@ -6,6 +6,13 @@ description: ${project.description}
|
|||||||
authors: [Cayorion]
|
authors: [Cayorion]
|
||||||
load: startup
|
load: startup
|
||||||
api-version: 1.13
|
api-version: 1.13
|
||||||
|
commands:
|
||||||
|
mcore:
|
||||||
|
description: MassiveCore basecommand
|
||||||
|
permission: massivecore.basecommand
|
||||||
|
massivecore:
|
||||||
|
description: MassiveCore basecommand
|
||||||
|
permission: massivecore.basecommand
|
||||||
permissions:
|
permissions:
|
||||||
# -------------------------------------------- #
|
# -------------------------------------------- #
|
||||||
# THE REAL NODES
|
# THE REAL NODES
|
||||||
|
@ -215,7 +215,7 @@ public abstract class MassivePlugin extends JavaPlugin implements Listener, Name
|
|||||||
// can only happen after others have been initialised.
|
// can only happen after others have been initialised.
|
||||||
public void activateOne(Object object)
|
public void activateOne(Object object)
|
||||||
{
|
{
|
||||||
boolean debug = true;//MassiveCoreMConf.get() != null && MassiveCoreMConf.get().debugEnabled;
|
boolean debug = MassiveCoreMConf.get() != null && MassiveCoreMConf.get().debugEnabled;
|
||||||
|
|
||||||
// Try collection
|
// Try collection
|
||||||
if (object instanceof Iterable)
|
if (object instanceof Iterable)
|
||||||
|
Loading…
Reference in New Issue
Block a user