mirror of
https://github.com/dmulloy2/ProtocolLib.git
synced 2024-11-24 19:46:33 +01:00
Fixed a bug overwriting the NetLoginHandler class with NetServerHandler
This commit is contained in:
parent
351dc7f3df
commit
32282bbe9f
@ -553,7 +553,7 @@ public class MinecraftReflection {
|
||||
return getMinecraftClass("NetServerHandler", "PlayerConnection");
|
||||
} catch (RuntimeException e) {
|
||||
// Use the player connection field
|
||||
return setMinecraftClass("NetLoginHandler",
|
||||
return setMinecraftClass("NetServerHandler",
|
||||
FuzzyReflection.fromClass(getEntityPlayerClass()).
|
||||
getFieldByType("playerConnection", getNetHandlerClass()).getType()
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user