Fix /prestige and /prestiges commands not working

This commit is contained in:
okx-code
2018-11-08 15:34:10 +00:00
parent d3b830c603
commit a4b47f0ab6
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -98,7 +98,7 @@ public class Rankup extends JavaPlugin {
if (config.getBoolean("ranks")) {
getCommand("ranks").setExecutor(new RanksCommand(this));
}
if (prestiges != null) {
if (config.getBoolean("prestige")) {
getCommand("prestige").setExecutor(new PrestigeCommand(this));
if (config.getBoolean("prestiges")) {
getCommand("prestiges").setExecutor(new PrestigesCommand(this));