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
Hello . I need to make an little implimentation of this plugin in my plugin. And i can`t find how i can delete the items from the endercontainers of a player. Can you help me please?
The text was updated successfully, but these errors were encountered:
I try this but it dont work. Any other ideas? ( I know that i have max 9 enderchests , it depends on rank of player. with each max 3 rows). EnderChestManager manager = Managers.get(EnderChestManager.class); manager.loadPlayerContext(event.getPlayerOBUUID(), playerContext -> { int chests = playerContext.getAccessibleChestCount(); for (int i = 0; i < 9; i++) { playerContext.getChest(i).get().getContents().clear(); } playerContext.save(); });
Hello . I need to make an little implimentation of this plugin in my plugin. And i can`t find how i can delete the items from the endercontainers of a player. Can you help me please?
The text was updated successfully, but these errors were encountered: