Charm icon indicating copy to clipboard operation
Charm copied to clipboard

Attempt to remove members from RegularImmutableMap when AdvacementUpdate packet processed on client

Open Linguardium opened this issue 3 years ago • 0 comments

https://github.com/svenhjol/Charm/blob/master/src/main/java/svenhjol/charm/helper/AdvancementHelper.java#L34 https://github.com/svenhjol/Charm/blob/master/src/main/java/svenhjol/charm/helper/AdvancementHelper.java#L45

This code is run on both client and server. When the client receives the Advancement Update packet, it provides an immutable map. This line will fail on the clientside with an UnsupportedOperationException.

likely this causes #749

Linguardium avatar May 01 '22 03:05 Linguardium