brunyman / LockettePro

LockettePro - A much better Lockette plugin for Bukkit - 1.14/1.15/1.16
29 stars 27 forks source link

Locking sign keeps its material type #27

Closed yu closed 3 years ago

yu commented 3 years ago

The case happens when a player tries to attach an 2nd lock sign on a chest. If the sign is the last one that (s)he's held, it therefore changes to an OAK_WALL_SIGN whatever it was. Because removeASign takes it a way (ie: changes it as AIR) and the next getItemInMainHand() cannot get the signtype anymore.

Confirmed on 1.16.1, PaperMC.