diff options
author | Himbeer <himbeer@disroot.org> | 2024-10-10 22:14:41 +0200 |
---|---|---|
committer | Himbeer <himbeer@disroot.org> | 2024-10-10 22:14:41 +0200 |
commit | 2129da31d7280ed336c826d4fa5c652af93065f3 (patch) | |
tree | 474cd6d73248671280968dccaa4c23fca9772096 /pointedthing.go | |
parent | df181fce5c1548f1db6ce5d7e74274fe638a767c (diff) |
Fix WearBarParams (de)serialization crash due to unsatisfied interface
While image/color.NRGBA has a (de)serialization override, it does not
satisfy the (de)serializer interface. This causes a crash when certain
item definitions are sent or received. This commit fixes the issue by
manually copying the (de)serialization override of image/color.NRGBA to
the WearBarParams override implementation instead of calling the
(de)serialize function that requires the input to satisfy
(de)serializer.
Diffstat (limited to 'pointedthing.go')
0 files changed, 0 insertions, 0 deletions