ViaVersion / ViaBackwards

Allows the connection of older clients to newer server versions for Minecraft servers.
https://hangar.papermc.io/ViaVersion/ViaBackwards
GNU General Public License v3.0
456 stars 86 forks source link

Issue for older clients seeing properly translated durability bar for items with attributed item durability's from 1.20.6 #830

Open Kruseified opened 1 month ago

Kruseified commented 1 month ago

'/viaversion dump' Output

https://dump.viaversion.com/4324cca72dcd766729d17bb5492388b4c0fc75a6e0d8790f30e85eae483c5bdb

Console Error

N/A 1 20 4_viabackwards_dur

Bug Description

As stated in the title, on versions prior to 1.20.5 it will inaccurately reformat item durability bar for items with attributed durability added to them. I have attached a screen shot of a item with attributed durability on a 1.20.4 client.

Steps to Reproduce

Add a durability attribute to a item (such as armor) damage the item and view it on a client prior to 1.20.5.

Expected Behavior

The bar will extend as the durability points surpass the vanilla durability points for the item on clients prior to 1.20.5.

Additional Server Info

N/A

Checklist

Barvalg commented 1 month ago

Platform: 1.20.6--DEV%20%28MC%3A%201.20.6%29
ViaVersion (5.0.2-SNAPSHOT): 16 commits behind master
ViaBackwards: Outdated

Please update all Via* plugins from https://ci.viaversion.com/.In case the issue still persists send the new dump and the issue will be reopened

Kruseified commented 1 month ago

https://dump.viaversion.com/2bad43b8d39890684075afa3558eb78b06201e5a1fc8576eaa0cd8dad9b7bb47

Barvalg commented 1 month ago

Platform: 1.20.6--DEV%20%28MC%3A%201.20.6%29
ViaVersion (5.0.2-SNAPSHOT): Even with master
ViaBackwards(5.0.2-SNAPSHOT): Even with master