Bungeecord support added x18
This commit is contained in:
parent
57f23a5adb
commit
6543120df3
@ -89,7 +89,8 @@ public class XCraft extends Plugin {
|
|||||||
|
|
||||||
Method registerPacketMethod = toServerClass.getDeclaredMethod("registerPacket", Class.class, protocolMappingArray.getClass());
|
Method registerPacketMethod = toServerClass.getDeclaredMethod("registerPacket", Class.class, protocolMappingArray.getClass());
|
||||||
registerPacketMethod.setAccessible(true);
|
registerPacketMethod.setAccessible(true);
|
||||||
registerPacketMethod.invoke(toServerClass, EncryptionResponsePacket.class, protocolMappingArray);
|
|
||||||
|
registerPacketMethod.invoke(Protocol.LOGIN.TO_SERVER, EncryptionResponsePacket.class, protocolMappingArray);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user