Fixed /reload and removed debug code

This commit is contained in:
cerevisiae 2010-12-14 23:41:30 -06:00
parent b01fa0e154
commit 9f05b9c03b

View File

@ -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)
{ {