Fix /prestige and /prestiges commands not working
This commit is contained in:
+1
-1
@@ -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()
|
||||||
|
|||||||
@@ -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,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]
|
||||||
|
|||||||
Reference in New Issue
Block a user