prestige bugfix
This commit is contained in:
+1
-1
@@ -4,7 +4,7 @@ plugins {
|
||||
}
|
||||
|
||||
group 'sh.okx'
|
||||
version '3.5.7-alpha'
|
||||
version '3.5.7-alpha.1'
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
# This file is generated by the 'io.freefair.lombok' Gradle plugin
|
||||
config.stopBubbling = true
|
||||
@@ -32,7 +32,9 @@ public class RankupHelper {
|
||||
rank.runCommands(player);
|
||||
applyCooldown(player);
|
||||
|
||||
if (rank.getRank() != null) {
|
||||
permissions.playerRemoveGroup(null, player, rank.getRank());
|
||||
}
|
||||
permissions.playerAddGroup(null, player, rank.getNext());
|
||||
}
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ first:
|
||||
# the rank to change it to
|
||||
to: 'A'
|
||||
next: 'P1'
|
||||
# see rankups.yml for more information on requirements, operations, commands and messages
|
||||
# see rankups.yml for more information on requirements, commands, and messages
|
||||
requirements:
|
||||
- 'money 10000'
|
||||
P1example:
|
||||
|
||||
Reference in New Issue
Block a user