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.
Dieser Commit ist enthalten in:
Ursprung
eb328c41e8
Commit
20792aa09a
@ -61,13 +61,6 @@ public final class PacketFilterManager implements ProtocolManager, ListenerInvok
|
|||||||
* @author Kristian
|
* @author Kristian
|
||||||
*/
|
*/
|
||||||
public enum PlayerInjectHooks {
|
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.
|
* Override the network handler object itself. Only works in 1.3.
|
||||||
* <p>
|
* <p>
|
||||||
@ -75,6 +68,13 @@ public final class PacketFilterManager implements ProtocolManager, ListenerInvok
|
|||||||
*/
|
*/
|
||||||
NETWORK_MANAGER_OBJECT,
|
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.
|
* Override the server handler object. Versatile, but a tad slower.
|
||||||
*/
|
*/
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren