getWatchableCollectionModifier doesn't work in 1.20.1
Laval13 opened this issue ยท 0 comments
ProtocolLib Dump: https://pastebin.com/r6GKyq3A
ProtocolLib Error: https://pastebin.com/xfP4gry8
When I listen PacketType.Play.Server.ENTITY_METADATA I make a :
List metadata = packet.getWatchableCollectionModifier().read(0);
and the error appears on this line
Solution: I have replace getWatchableCollectionModifier to getDataValueCollectionModifier