mizarc / bell-claims

A comprehensive yet intuitive land claiming system for PaperMC servers, allowing players to protect their builds.
https://modrinth.com/plugin/bell-claims
MIT License
10 stars 5 forks source link

Bell Duplication using move claim #81

Closed Dyljyn closed 1 month ago

Dyljyn commented 1 month ago

One of my players found the following bug.

https://github.com/user-attachments/assets/92559a33-62ed-4b3d-93db-d1d3726be360

Current Behavior

Upon choosing to "Move Claim", a bell is received in their inventory. When the player breaks the bell of their claim, they are also given the broken bell back. They now have duplicated a bell.

Expected Behavior

The "Move Claim" bell is removed from the inventory after the claim is broken

mizarc commented 1 month ago

Oh good catch! Should be an easy enough fix to detect the move bell item based on its metadata.