You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that RPGInventory can create items that the player should not be able to move in their inventory. Those however cannot be detected by ChestSort which means that the items get moved if the player uses ChestSort to sort their inventory. ChestSort has an API that can be used to tell ChestSort what items should not be movable. If you are interested in making both plugins compatible, you can softdepend on ChestSort, import the ChestSortAPI via maven or gradle and listen to the ChestSortEvent. Whenever the inventory contains one of the unmovable items, just use the method ChestSortEvent#setUnmovable(int slot) or #setUnmovable(ItemStack item).
The text was updated successfully, but these errors were encountered:
Since some more users requested this to me already, I can also create a pull request the following days if that would have any chance to be accepted? :)
It seems that RPGInventory can create items that the player should not be able to move in their inventory. Those however cannot be detected by ChestSort which means that the items get moved if the player uses ChestSort to sort their inventory. ChestSort has an API that can be used to tell ChestSort what items should not be movable. If you are interested in making both plugins compatible, you can softdepend on ChestSort, import the
ChestSortAPI
via maven or gradle and listen to theChestSortEvent
. Whenever the inventory contains one of the unmovable items, just use the methodChestSortEvent#setUnmovable(int slot)
or#setUnmovable(ItemStack item)
.The text was updated successfully, but these errors were encountered: