Change command setup to true per default
This commit is contained in:
parent
89b47da78b
commit
1bb7d5e53b
@ -193,7 +193,7 @@ public class MassiveCommand implements Active, PluginIdentifiableCommand
|
||||
// === SETUP ===
|
||||
|
||||
// Determines whether the smart setup process will be used, works for most of commands
|
||||
protected boolean setupEnabled = false;
|
||||
protected boolean setupEnabled = true;
|
||||
|
||||
// A base prefix such as "CmdFactions" that all names of commands in a plugin start with.
|
||||
// Used for finding the right permission.
|
||||
|
@ -28,6 +28,7 @@ public class MassiveCommandHelp extends MassiveCommand
|
||||
|
||||
// Other
|
||||
this.setDesc("");
|
||||
this.setSetupEnabled(false);
|
||||
}
|
||||
|
||||
// -------------------------------------------- //
|
||||
|
@ -35,6 +35,8 @@ public class MassiveCommandVersion extends MassiveCommand
|
||||
|
||||
// Priority
|
||||
this.setPriority(-1);
|
||||
|
||||
this.setSetupEnabled(false);
|
||||
}
|
||||
|
||||
// -------------------------------------------- //
|
||||
|
@ -54,6 +54,9 @@ public class CommandEditAbstract<O, V> extends MassiveCommand
|
||||
this.addRequirements(RequirementEditorUse.get());
|
||||
this.addRequirements(settings.getPropertyRequirements());
|
||||
this.addRequirements(property.getRequirements());
|
||||
|
||||
// Does not use standard setup
|
||||
this.setSetupEnabled(false);
|
||||
}
|
||||
|
||||
// -------------------------------------------- //
|
||||
|
Loading…
Reference in New Issue
Block a user