qruet / AnvilLot

Allows for vanilla anvils to extend beyond the vanilla price cap of 39 experience in a non intrusive way.
6 stars 4 forks source link

1.18 Post Merge Irregular Behaviour #23

Open qruet opened 2 years ago

qruet commented 2 years ago

Server Version 1.18-R0.1-SNAPSHOT

Plugin Version 3.6-b71

Describe the bug

To Reproduce

Media image

Gaming32 commented 2 years ago

Are there any errors in the console?

qruet commented 2 years ago

No stacktrace to report. I believe all of these issues are simply a result from missing packets or packets with the wrong data being sent. I would look into PacketPlayOutSetSlot which is constructed in IContainerAnvilLot#sendSlotUpdate and make sure the parameters haven't change order or something weird - perhaps the wrong data is being passed. Then also check that the updated repair cost for ContainerAnvil is being sent to the player as well, since the TooExpensiveBar is reading the correct cost but the GUI seems to be having trouble updating the repair cost.