Skip to content

Integration with ChestSort #167

@osipxd

Description

@osipxd

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).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions