Exemplo n.º 1
0
 public void removeProtectionRegenTask(ProtectionRegenTask task) {
   protectionRegenTasks.remove(task.getBlockLocation());
   if (protectionRegenTasks.isEmpty()) protectionPlaceholders.clear();
 }
Exemplo n.º 2
0
 public void addProtectionRegenTask(ProtectionRegenTask task) {
   protectionRegenTasks.put(task.getBlockLocation(), task);
 }