Fire ChunkWatchEvent.Watch event, closes #2767. Based on @sfPlayer1 patch suggestion. It looks like this logic has shifted relative to 1.8, so there may be differences in event behaviour now.

This commit is contained in:
cpw committed 2016-06-04 11:13:44 -04:00
1 parent 279380b4f1
commit 18e60a1235
2 files changed
+26 -8

No files matched your search

@@ -41,7 +41,7 @@ public class ChunkWatchEvent extends Event
/**
* ChunkWatchEvent.Watch is fired when an EntityPlayer begins watching a chunk.<br>
* This event is fired when a chunk is added to the watched chunks of an EntityPlayer in
* {@link EntityPlayerMP#onUpdate()}. <br>
* {@link PlayerChunkMapEntry#addPlayer(EntityPlayerMP)} and {@link PlayerChunkMapEntry#sentToPlayers()}. <br>
* <br>
* This event is not {@link Cancelable}.<br>
* <br>