Added (re added) access level print

enabled for a test to make sure server is reading DB and accesslevels
folder correctly
This commit is contained in:
Zing
2014-08-16 12:44:26 -07:00
parent cbcb28e00a
commit 9add8a6862
+1 -1
View File
@@ -692,7 +692,7 @@ public class CommandService implements INetworkDispatch {
|| command.getCommandName().equals("teleportto") || command.getCommandName().equals("teleporttarget") ) {
String accessLevel = core.adminService.getAccessLevelFromDB(actor.getClient().getAccountId());
String filePath = "accesslevels/" + accessLevel + ".txt";
System.out.println(command.getCommandName() + " was just used by an admin with accessLevel: " + accessLevel + ".");
if(FileUtilities.doesFileExist(filePath)) {
Scanner scanner;
try {