Merge pull request #362 from JCThePants/JCThePants-patch-6

Re-add ignoreCancelled into onChunkUnload event handler
This commit is contained in:
fullwall 2015-05-05 12:58:33 +08:00
commit df3e46f3e8

View File

@ -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);