Zrips / CMI

116 stars 98 forks source link

Unbreakable is bugged #8951

Closed Rexmen1 closed 2 months ago

Rexmen1 commented 3 months ago

Description of Issue

So after making item /unbreakable it shows that its breakable and item doesn't show any durablity loss, but in reality its loosing it and when its close to break durablity alert do popup and shows item is about to break...

when doing /unbreakable false it shows the real durablity of item and shows it only has 30 durablity left or something.. so please fix this issue...

and if item has 10 durablity and is made unbreakable it stays 8 durablity seems like

Version Information

[15:08:15 INFO]: CMI: 9.7.4.5 BungeeCord CMIB  SqLite
[15:08:15 INFO]: CMILib: 1.5.0.7 
[15:08:15 INFO]: Server: Paper(2263) 1.21-R0.1-SNAPSHOT-
[15:08:15 INFO]: CMI economy: Enabled Vault: 1.7.3-CMI CMI Chat: Enabled 
[15:08:15 INFO]: Modules -> 56 enabled 10 disabled: spawnerProximity, mirror, elevator, tablist, ranks, skin, noTarget, elytraBoost, paintingEditor, elytraLaunch
[15:08:15 INFO]: --------------------------------------------------

Errors

No response

Relevant Config Sections

No response

Relevant Plugins

No response

Agreements

Zrips commented 3 months ago

In later versions enabling unbreakable would only make item unbreakable, but it should not repair it, aka existing durability will remain as it was before, but it should remain at same level independent how much you use that item. Which server type are you running specifically? As reported Paper one doesn't match based on version number, so this could be a cause of your specific server type.

mrfloris commented 2 months ago

In later versions enabling unbreakable would only make item unbreakable, but it should not repair it, aka existing durability will remain as it was before, but it should remain at same level independent how much you use that item. Which server type are you running specifically? As reported Paper one doesn't match based on version number, so this could be a cause of your specific server type.

That build number 2260 is from purpur.

on 1.20.4 it seems to behave as always, for me, on new iron pick with /cmi unbreakable true

mrfloris commented 2 months ago

I upgraded paper to their latest build, and cmi and cmilib, and I got a new pickaxe with nothing on it /cmi unbreakable true, and started mining in survival, durability is not going down.

Screenshot 2024-07-24 at 22 37 45
mrfloris commented 2 months ago
Screenshot 2024-07-24 at 22 39 05

i got a custom pickaxe from 1.19+ that got moved from 1.20.4 to 1.21, and already had unbreakable on it.,. it also doesn't seem to go down in durability after minute of mining.

\ cannot reproduce, perhaps an issue with purpur, but cannot reproduce the issue on paper.