Make sure to clear the toRespawn map on /citizens reload

This commit is contained in:
fullwall 2016-03-12 12:02:23 +08:00
parent 72e4790681
commit 47034e5212

View File

@ -162,6 +162,7 @@ public class EventListen implements Listener {
@EventHandler(priority = EventPriority.MONITOR) @EventHandler(priority = EventPriority.MONITOR)
public void onCitizensReload(CitizensReloadEvent event) { public void onCitizensReload(CitizensReloadEvent event) {
skinUpdateTracker.reset(); skinUpdateTracker.reset();
toRespawn.clear();
} }
@EventHandler(ignoreCancelled = true) @EventHandler(ignoreCancelled = true)