Disable drop item in 1 and 2 slots #57

Closed
opened 2016-12-25 23:25:03 -05:00 by DardBrinza · 3 comments
DardBrinza commented 2016-12-25 23:25:03 -05:00 (Migrated from github.com)

I use customJoinItems and openinv, i don't know why, but this plugin blocked drop item in 1 and 2 slots in inventory. Latest build paper spigot 1.8.8, latest version openinv and customjoinitems, in console no errors.

I use customJoinItems and openinv, i don't know why, but this plugin blocked drop item in 1 and 2 slots in inventory. Latest build paper spigot 1.8.8, latest version openinv and customjoinitems, in console no errors.
Jikoo commented 2016-12-26 04:52:28 -05:00 (Migrated from github.com)

OpenInv does not handle the PlayerDropItemEvent at all. Sounds like CustomJoinItems thinks you have 2 un-droppable items. Check your CustomJoinItems config.

OpenInv does not handle the PlayerDropItemEvent at all. Sounds like CustomJoinItems thinks you have 2 un-droppable items. Check your CustomJoinItems config.
DardBrinza commented 2016-12-27 05:43:13 -05:00 (Migrated from github.com)

No, if i delete openinv, all works fine, my customjoinitems config don't use function to disable drop item

No, if i delete openinv, all works fine, my customjoinitems config don't use function to disable drop item
Jikoo commented 2016-12-27 10:14:49 -05:00 (Migrated from github.com)

OpenInv does not disable dropping functionality unless you do not have permission to modify an open OpenInv inventory implementation, an ISpecialPlayerInventory or an ISpecialEnderChest. In that case, you would not be able to modify any slots at all. Relevant listener here.

CustomJoinItems' movement blocking will also perform drop prevention.

OpenInv does not disable dropping functionality unless you do not have permission to modify an open OpenInv inventory implementation, an ISpecialPlayerInventory or an ISpecialEnderChest. In that case, you would not be able to modify any slots at all. Relevant listener [here](https://github.com/lishid/OpenInv/blob/master/plugin/plugin-core/src/main/java/com/lishid/openinv/listeners/InventoryClickListener.java#L37-L47). CustomJoinItems' movement blocking will also perform drop prevention.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: minster586/OpenInv#57
No description provided.