Minor - rename LimboPlayer methods + code householding
- Rename *taskId methods to *task to reflect what they handle - Remove usages of Wrapper where applicable - Replace some uses of legacy Settings with NewSetting calls
This commit is contained in:
@@ -49,11 +49,11 @@ public class ProcessSyncEmailRegister implements Process {
|
||||
if (limbo != null) {
|
||||
if (time != 0) {
|
||||
BukkitTask id = service.runTaskLater(new TimeoutTask(service.getAuthMe(), name, player), time);
|
||||
limbo.setTimeoutTaskId(id);
|
||||
limbo.setTimeoutTask(id);
|
||||
}
|
||||
BukkitTask messageTask = service.runTask(new MessageTask(
|
||||
service.getAuthMe(), name, service.retrieveMessage(MessageKey.LOGIN_MESSAGE), msgInterval));
|
||||
limbo.setMessageTaskId(messageTask);
|
||||
limbo.setMessageTask(messageTask);
|
||||
}
|
||||
|
||||
player.saveData();
|
||||
|
||||
Reference in New Issue
Block a user