Item will disappear when drop from backpack at region where drop item is not allowed
MrPolloo opened this issue ยท 6 comments
๐ Description (REQUIRED)
When inventory is full and you trying to drop item from backpack at region (WorldGuard) drop item is not allowed will disappear
๐ Steps to reproduce the Issue (REQUIRED)
- Fill inventory to full
- Go to region where dropping item isnt allowed
- Open Backpack
- Drop some of item
๐ก Expected behavior (REQUIRED)
Usually when dropping item from backpack when inventory is not full, the item will return to your inventory.
But if inventory is full, its should return to the backpack.
๐ Server Log
๐ /error-reports/ Folder
๐งญ Environment (REQUIRED)
- Server software: Paper-669
- Minecraft version: 1.16.5
- Slimefun version: Slimefun4 - DEV 927 (git cf362)
- WorldGuard version : worldguard-bukkit-7.0.4
I think this issue must resolve author of worldguard because its works with normal chests too. Checking for cancelled event also dont work
WorldGuard simply cancels the PlayerItemDropEvent
.
I reckon this is likely to even be a Paper or Spigot issue at this point, that the item does not seem to be returned to the correct slot.
Can you perhaps test this on Spigot so we can see if it happens there too or only on Paper?
Can you perhaps test this on Spigot so we can see if it happens there too or only on Paper?
Works on Spigot too.
Video: https://youtu.be/ukVsN3hudfI (probably still processing)
Yup, seems to be a Spigot / CraftBukkit bug:
No matter where the item is dropped from, it seems to always be returned to the player's inventory.
Please report that on the Spigot bug tracker: https://hub.spigotmc.org/jira/ (or see if an open issue about that already exists)
Still an open issue in Spigot. https://hub.spigotmc.org/jira/browse/SPIGOT-5720