-
Notifications
You must be signed in to change notification settings - Fork 41
Open
Description
TNTRun/src/tntrun/utils/Shop.java
Line 223 in 7114dcf
| if (!e.getView().getTitle().equals(invname)) { |
Checking event.getView().getTitle() to see whether your custom inventory is being used is unsafe, as renaming a chest in an anvil allows users to set their own inventory titles. The correct way to check if your custom inventory is involved with an event is by using custom holders, see here: https://docs.papermc.io/paper/dev/custom-inventory-holder
Metadata
Metadata
Assignees
Labels
No labels