mirror of
https://github.com/dmulloy2/ProtocolLib.git
synced 2024-11-05 02:10:14 +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