Fix /prestige and /prestiges commands not working
This commit is contained in:
@@ -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));
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
name: Rankup
|
||||
version: 3.2.1-beta.2
|
||||
version: 3.2.1-beta.3
|
||||
main: sh.okx.rankup.Rankup
|
||||
author: Okx
|
||||
depend: [Vault]
|
||||
|
||||
Reference in New Issue
Block a user