mirror of
https://github.com/dmulloy2/ProtocolLib.git
synced 2024-11-04 17:59:35 +01:00
Use a class cache when constructing the packet interceptor.
This commit is contained in:
parent
4e9b5009c8
commit
cb2c7b4e0a
@ -129,7 +129,6 @@ class PacketInjector {
|
||||
// Subclass the specific packet class
|
||||
ex.setSuperclass(old);
|
||||
ex.setCallbackType(ReadPacketModifier.class);
|
||||
ex.setUseCache(false);
|
||||
ex.setClassLoader(classLoader);
|
||||
Class proxy = ex.createClass();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user