Closed ghost closed 7 years ago
The window items packet now contains a List b instead of an array ItemStack[]. Adding a getItemListModifier() and write method would prevent the common user from needing to refer to reflection to modify the packet.
I agree that it should be added, but not with the rationale. If you're meddling with packets, you should be referring to the MC source.
Added in https://github.com/dmulloy2/ProtocolLib/commit/7a9b9afe2e439a4f50b66781adab474896072674
The window items packet now contains a List b instead of an array ItemStack[]. Adding a getItemListModifier() and write method would prevent the common user from needing to refer to reflection to modify the packet.