Fix Compile issues

This commit is contained in:
Rsl1122 2017-08-23 14:25:54 +03:00
parent 5ee7b9de35
commit fe3a4fdbf1
2 changed files with 1 additions and 2 deletions

View File

@ -85,7 +85,7 @@ public class ManageRemoveCommand extends SubCommand {
sender.sendMessage(Locale.get(Msg.MANAGE_INFO_START).parse());
try {
// TODO Clear active session of user & start new one
if (plugin.getDB().removeAccount(uuid.toString())) {
if (plugin.getDB().removeAccount(uuid)) {
sender.sendMessage(Locale.get(Msg.MANAGE_INFO_REMOVE_SUCCESS).parse(playerName, plugin.getDB().getConfigName()));
} else {
sender.sendMessage(Locale.get(Msg.MANAGE_INFO_FAIL).toString());

View File

@ -32,7 +32,6 @@ public class SessionCacheTest {
@Before
public void setUp() throws Exception {
TestInit.init();
test = new SessionCache();
}
@Test