ViaBackwards icon indicating copy to clipboard operation
ViaBackwards copied to clipboard

Upgrading from 1.21.1->1.21.3 server breaks custom item compatibility

Open Kichura opened this issue 1 year ago • 3 comments

'/viaversion dump' Output

https://dump.viaversion.com/abfdbbd2a1b1a2e90948a52eaa0fa100a7e2f1c1360d47f8f9f1429696e7370c

Server/Client Error

[Render thread/WARN]: Client disconnected with reason: Internal Exception: io.netty.handler.codec.DecoderException: Failed to decode packet 'clientbound/minecraft:container_set_content'

Bug Description

When creating a custom item through ItemEdit and/or ItemTag with latin or other characters such as ■ ᴀ ʙ and then upgrading paper from 1.21.1 to 1.21.3 causes player to be permanently kicked once inventory is opened.

Steps to Reproduce

  1. Create a Paper 1.21.1 server,
  2. Install Latest crazyenchantments, itemtag and itemedit,
  3. Install latest Via* from CI,
  4. Log on to the server using 1.21.1 server as operator,
  5. Apply random lore using specific characters such as latin and whatnot, (and optionally random enchants)
  6. Shutdown server and switch it over to 1.21.3,
  7. Attempt to log in again,
  8. Client should get kicked off.

Expected Behavior

Custom items do not kick players from the server upon attempting to enter.

Additional Server Info

  1. This server does not have any proxies active,
  2. Paper 1.21.1-132 for first run then Paper 1.21.3-81 for second run,
  3. Plugins were CrazyEnchantments (2.5.1), ItemEdit (3.5.5), ItemTag (3.5.1) and both VB+VV 5.2.1-SNAPSHOT.

Checklist

  • [X] Via plugins are only running on EITHER the backend servers (e.g. Paper) OR the proxy (e.g. Velocity), not on both.
  • [X] I have included a ViaVersion dump.
  • [X] If applicable, I have included a paste (not a screenshot) of the error.
  • [X] I have tried a build from https://ci.viaversion.com/ and the issue still persists.

Kichura avatar Dec 18 '24 18:12 Kichura

Platform: 1.21.3--81--da71382%20%28MC%3A%201.21.3%29 ViaVersion (5.2.1-SNAPSHOT): Even with master ViaBackwards(5.2.1-SNAPSHOT): Even with master

Barvalg avatar Dec 18 '24 18:12 Barvalg

Can you provide server or client logs with possible errors?

FlorianMichael avatar Dec 19 '24 23:12 FlorianMichael

Can you provide server or client logs with possible errors?

The client only gave me the container error, meanwhile server showed nothing when i ran this test.

Kichura avatar Dec 20 '24 08:12 Kichura