ProtocolLib icon indicating copy to clipboard operation
ProtocolLib copied to clipboard

generate missing methods in SerializedOfflinePlayer at runtime

Open wuangg opened this issue 6 months ago • 2 comments

Use ByteBuddy to generate missing methods in SerializedOfflinePlayer from its interface at runtime to prevent compile errors from future API changes.

Fixes #2758.

wuangg avatar Feb 01 '24 15:02 wuangg

Would be interested in the performance implications of this. Could you run some tests?

dmulloy2 avatar Feb 06 '24 22:02 dmulloy2

Thank you for this guys! <3

andrewkm avatar Feb 15 '24 18:02 andrewkm