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 4a0a63e commit 824a8dfCopy full SHA for 824a8df
src/main/java/pro/cloudnode/smp/bankaccounts/events/GUI.java
@@ -180,9 +180,7 @@ 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
- BankAccounts.getInstance().getServer().getScheduler().runTaskLater(BankAccounts.getInstance(), () -> {
184
- POS.activePosChestGuis.remove(event.getInventory());
185
- }, 40L);
+ POS.activePosChestGuis.remove(event.getInventory());
186
}
187
188
public final static @NotNull HashMap<@NotNull String, @NotNull NamespacedKey[]> keys = new HashMap<>() {{
0 commit comments