We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf68327 commit 4a0a63eCopy full SHA for 4a0a63e
src/main/java/pro/cloudnode/smp/bankaccounts/events/GUI.java
@@ -180,7 +180,9 @@ public void posItemsChangeWhileOpened(final @NotNull InventoryMoveItemEvent even
180
@EventHandler
181
public void posGuiClosed(final @NotNull InventoryCloseEvent event) {
182
if (!POS.activePosChestGuis.containsKey(event.getInventory())) return;
183
- POS.activePosChestGuis.remove(event.getInventory());
+ BankAccounts.getInstance().getServer().getScheduler().runTaskLater(BankAccounts.getInstance(), () -> {
184
+ POS.activePosChestGuis.remove(event.getInventory());
185
+ }, 40L);
186
}
187
188
public final static @NotNull HashMap<@NotNull String, @NotNull NamespacedKey[]> keys = new HashMap<>() {{
0 commit comments