Slimefun

Slimefun

3M Downloads

Talisman of the Anvil not working properly

Jota-byte opened this issue ยท 0 comments

commented

๐Ÿ“ Description (REQUIRED)

The Talisman of the Anvil and the Ender version do not prevent 1 armor piece from breaking if it is on any armor slot and your main hand is empty.
The normal and the Ender version do work if:
-You have in your main hand any item (sand, gunpowder, a pickaxe, the sf guide, etc).

I found this bug a long time ago, it happened on every server I played.

๐Ÿ“‘ Steps to reproduce the Issue (REQUIRED)

  1. Get some Talismans of the Anvil (normal or ender) and put them in your inventory/enderchest.
  2. Equip any armor.
  3. Leave your main hand empty to see the bug.
  4. Break the armor by any way (TNT, fire, lava, etc).
  5. See how the message ("Your Talisman saved your tool from breaking") appears, the talisman is consumed but the piece of armor is gone.

I did a quick video demonstration:
https://youtu.be/icyw58pXpxs

๐Ÿ’ก Expected behavior (REQUIRED)

I expected that the talisman would work on items with durability (mainly armors) on the armor slots without need for an item in the main hand.

๐Ÿ“œ Server Log

This error appears in the console when the talisman attempts to prevent 1 armor piece from breaking with the main hand empty:
https://pastebin.com/65GdNeQu
There are no errors if you have any item in the main hand when the talisman does the magic.

๐Ÿ“‚ /error-reports/ Folder

The folder was empty.

๐Ÿงญ Environment (REQUIRED)

This Server uses the following setup of Slimefun:
Paper git-Paper-625 (MC: 1.16.5)
Slimefun DEV - 885 (git d0a7ad7)
Metrics-Module #21
Java 11

Installed Addons: (20)
ExtraTools vDEV - 26 (git 0cb2ad70)
FoxyMachines vDEV - 45 (git ce4f8193)
SlimefunOreChunks vDEV - 13 (git 9f7a2be3)
SensibleToolbox vDEV - 40 (git f3e782d3)
EcoPower vDEV - 4 (git 2a08d31d)
HotbarPets vDEV - 37 (git 63b1553e)
DynaTech vDEV - 103 (git deb6a429)
ExtraGear vDEV - 12 (git 4570ea2c)
ExoticGarden vDEV - 76 (git d148a362)
ClayTech v1.2.21
InfinityExpansion vDEV - 103 (git 765f00a7)
ElectricSpawners vDEV - 22 (git 4cb2c56b)
SFCalc vDEV - 20 (git 29ba88c6)
LiteXpansion vDEV - 146 (git 0064ae01)
SimpleUtils vDEV - 5 (git 8d51c591)
SoulJars vDEV - 22 (git aded79dd)
SlimyTreeTaps vDEV - 18 (git ab11a282)
TranscEndence vDEV - 33 (git e9b4de1a)
FluffyMachines vDEV - 79 (git 15a0fad9)
ChestTerminal vDEV - 43 (git 3096bab5)