mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-22 21:26:46 +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;
|
if(!player.canUseCommand("/reload")) return EXIT_FAIL;
|
||||||
|
|
||||||
vMinecraftSettings.getInstance().loadSettings();
|
vMinecraftSettings.getInstance().loadSettings();
|
||||||
return EXIT_SUCCESS;
|
return EXIT_FAIL;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=====================================================================
|
//=====================================================================
|
||||||
@ -1476,7 +1476,6 @@ public class vMinecraftCommands{
|
|||||||
for(String group : myGroups)
|
for(String group : myGroups)
|
||||||
if(rank.equalsIgnoreCase(group))
|
if(rank.equalsIgnoreCase(group))
|
||||||
{
|
{
|
||||||
log.log(Level.INFO, myRank + " cere");
|
|
||||||
|
|
||||||
leave = true;
|
leave = true;
|
||||||
break;
|
break;
|
||||||
@ -1488,7 +1487,6 @@ public class vMinecraftCommands{
|
|||||||
if(!leave)
|
if(!leave)
|
||||||
myRank = 0;
|
myRank = 0;
|
||||||
|
|
||||||
log.log(Level.INFO, myRank + " / " + tarRank);
|
|
||||||
//Make sure they're not promoting to their rank or higher
|
//Make sure they're not promoting to their rank or higher
|
||||||
if(myRank <= tarRank + 1)
|
if(myRank <= tarRank + 1)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user