Nukkit icon indicating copy to clipboard operation
Nukkit copied to clipboard

Armor Durability Bug (Poison Effect)

Open GoodLucky777 opened this issue 4 years ago • 4 comments

Expected Behavior

Armor durability never reduce when I get poison effect.

Actual Behavior

Armor durability reduce when I get poison effect. (Survival Gamemode)

Steps to Reproduce

(Video) ezgif com-resize

Debug information

  • Debug link: -
  • Timings link (if relevant): -

Latest Nukkit Build No Plugin It was a new world. (I reset before start server.)

Crashdump, Backtrace or Other Files

It doesn't crash.

Checklist:

  • [ ] I included a /debugpaste link
  • [x] I made sure there aren't duplicates of this report (Use Search)
  • [x] I made sure I am using an up-to-date version of Nukkit
  • [x] I Made sure the bug/error is not caused by a plugin

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

GoodLucky777 avatar Apr 28 '20 04:04 GoodLucky777

I do not believe that poison is a behavior that lowers armor durability. Logically it a man wearing armor is poisoned, that mans armor would not be harmed as the armor can’t be poisoned it’s not a living thing.

Where as the enchantment thorns should dmg armor as it’s like having spikes on your armor so if anyone touched it or rubs on it. It should hurt the armor first then the health but for the sake of Minecraft prob both.

jrodr10 avatar Apr 28 '20 05:04 jrodr10

You can test this, i tested twice but same result. I don't know why poison reduce durability but it happened.

GoodLucky777 avatar Apr 28 '20 05:04 GoodLucky777

Oh I see your saying it’s reducing durability and shouldn’t? If so your correct it doesn’t make sense to reduce durability of armor.

jrodr10 avatar Apr 28 '20 05:04 jrodr10

So, in vanilla, armor can't be damaged by poison effect, but Nukkit have a bug that poison effect can damage a armor.

GoodLucky777 avatar Apr 28 '20 05:04 GoodLucky777

Fixed in 88c9e62

PetteriM1 avatar Sep 20 '22 09:09 PetteriM1