Reorder injection hooks.

We put the network manager hook to the bottom as it's the least
likely version to be compatible with other plugins.
This commit is contained in:
Kristian S. Stangeland 2012-10-10 02:50:27 +02:00
parent eb328c41e8
commit 20792aa09a

View File

@ -61,13 +61,6 @@ public final class PacketFilterManager implements ProtocolManager, ListenerInvok
* @author Kristian
*/
public enum PlayerInjectHooks {
/**
* Override the packet queue lists in NetworkHandler.
* <p>
* Cannot intercept MapChunk packets.
*/
NETWORK_HANDLER_FIELDS,
/**
* Override the network handler object itself. Only works in 1.3.
* <p>
@ -75,6 +68,13 @@ public final class PacketFilterManager implements ProtocolManager, ListenerInvok
*/
NETWORK_MANAGER_OBJECT,
/**
* Override the packet queue lists in NetworkHandler.
* <p>
* Cannot intercept MapChunk packets.
*/
NETWORK_HANDLER_FIELDS,
/**
* Override the server handler object. Versatile, but a tad slower.
*/