mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2025-01-14 12:11:30 +01:00
Merge pull request #362 from JCThePants/JCThePants-patch-6
Re-add ignoreCancelled into onChunkUnload event handler
This commit is contained in:
commit
df3e46f3e8
@ -110,7 +110,7 @@ public class EventListen implements Listener {
|
||||
respawnAllFromCoord(toCoord(event.getChunk()));
|
||||
}
|
||||
|
||||
@EventHandler(priority = EventPriority.HIGHEST)
|
||||
@EventHandler(priority = EventPriority.HIGHEST, ignoreCancelled = true)
|
||||
public void onChunkUnload(ChunkUnloadEvent event) {
|
||||
ChunkCoord coord = toCoord(event.getChunk());
|
||||
Location loc = new Location(null, 0, 0, 0);
|
||||
|
Loading…
Reference in New Issue
Block a user