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
@@ -4,7 +4,7 @@ plugins {
} }
group 'sh.okx' group 'sh.okx'
version '3.2.1-beta.2' version '3.2.1-beta.3'
repositories { repositories {
mavenCentral() mavenCentral()
+1 -1
View File
@@ -98,7 +98,7 @@ public class Rankup extends JavaPlugin {
if (config.getBoolean("ranks")) { if (config.getBoolean("ranks")) {
getCommand("ranks").setExecutor(new RanksCommand(this)); getCommand("ranks").setExecutor(new RanksCommand(this));
} }
if (prestiges != null) { if (config.getBoolean("prestige")) {
getCommand("prestige").setExecutor(new PrestigeCommand(this)); getCommand("prestige").setExecutor(new PrestigeCommand(this));
if (config.getBoolean("prestiges")) { if (config.getBoolean("prestiges")) {
getCommand("prestiges").setExecutor(new PrestigesCommand(this)); getCommand("prestiges").setExecutor(new PrestigesCommand(this));
+1 -1
View File
@@ -1,5 +1,5 @@
name: Rankup name: Rankup
version: 3.2.1-beta.2 version: 3.2.1-beta.3
main: sh.okx.rankup.Rankup main: sh.okx.rankup.Rankup
author: Okx author: Okx
depend: [Vault] depend: [Vault]