diff --git a/src/main/java/org/maxgamer/quickshop/Shop/ShopManager.java b/src/main/java/org/maxgamer/quickshop/Shop/ShopManager.java index 4dbe03924..4c7058b39 100644 --- a/src/main/java/org/maxgamer/quickshop/Shop/ShopManager.java +++ b/src/main/java/org/maxgamer/quickshop/Shop/ShopManager.java @@ -385,6 +385,9 @@ public class ShopManager { } public void handleChat(@NotNull Player p, @NotNull String msg, boolean bypassProtectionChecks) { + if (!plugin.getShopManager().getActions().containsKey(p.getUniqueId())) { + return; + } final String message = ChatColor.stripColor(msg); // Use from the main thread, because Bukkit hates life Bukkit.getScheduler().scheduleSyncDelayedTask(plugin, () -> {