mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2024-11-02 16:59:35 +01:00
Make sure to clear the toRespawn map on /citizens reload
This commit is contained in:
parent
72e4790681
commit
47034e5212
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user