Bug in "on drop" event
Logr07 opened this issue ยท 1 comments
Skript/Server Version
22:23:51[INFO] [Skript] Server Version: git-Purpur-2150 (MC: 1.20.4)
22:23:51[INFO] [Skript] Skript Version: 2.8.2 (skriptlang-github)
22:23:51[INFO] [Skript] Installed Skript Addons:
22:23:51[INFO] [Skript] - skript-placeholders v1.6.0 (https://github.com/APickledWalrus/skript-placeholders)
22:23:51[INFO] [Skript] - DiSky v4.12.2-beta1
22:23:51[INFO] [Skript] - skript-reflect v2.4 (https://github.com/SkriptLang/skript-reflect)
22:23:51[INFO] [Skript] - SkBee v3.2.1 (https://github.com/ShaneBeee/SkBee)
22:23:51[INFO] [Skript] - skript-holo v1.0.2 (https://github.com/Blueyescat/skript-holo)
22:23:51[INFO] [Skript] Installed dependencies:
22:23:51[INFO] [Skript] - Vault v1.7.3-CMI
22:23:51[INFO] [Skript] - WorldGuard v7.0.9+5934e49
22:23:51[INFO] [Skript] - Residence v5.1.4.2
Bug Description
When I use code on drop: cancel event, empty my selected slot and drop any item, it duplicates the item.
Expected Behavior
Do not duplicate the dropped item
Steps to Reproduce
- Use this code:
on drop:
cancel event - take anything to your inventory
- empty your selected slot
- open your inv
- drop any item
- see duplicated item you dropped
Errors or Screenshots
No response
Other
I also tried some debug and it does not look like client sided. The duped item is stored in player NBT. I also tried if it isnt minecraft glitch, but other plugin that can prevent item drop does not have this dupe glitch.
Agreement
- I have read the guidelines above and affirm I am following them with this report.