mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-22 13:16:45 +01:00
Fixed /reload and removed debug code
This commit is contained in:
parent
b01fa0e154
commit
9f05b9c03b
@ -1076,7 +1076,7 @@ public class vMinecraftCommands{
|
||||
if(!player.canUseCommand("/reload")) return EXIT_FAIL;
|
||||
|
||||
vMinecraftSettings.getInstance().loadSettings();
|
||||
return EXIT_SUCCESS;
|
||||
return EXIT_FAIL;
|
||||
}
|
||||
|
||||
//=====================================================================
|
||||
@ -1476,7 +1476,6 @@ public class vMinecraftCommands{
|
||||
for(String group : myGroups)
|
||||
if(rank.equalsIgnoreCase(group))
|
||||
{
|
||||
log.log(Level.INFO, myRank + " cere");
|
||||
|
||||
leave = true;
|
||||
break;
|
||||
@ -1488,7 +1487,6 @@ public class vMinecraftCommands{
|
||||
if(!leave)
|
||||
myRank = 0;
|
||||
|
||||
log.log(Level.INFO, myRank + " / " + tarRank);
|
||||
//Make sure they're not promoting to their rank or higher
|
||||
if(myRank <= tarRank + 1)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user