mirror of
https://github.com/EarthMC/QuickShop-Reremake.git
synced 2026-11-24 17:39:52 -05:00
Bugfix #3 - Money detection while using HeroChat
This commit is contained in:
1 parent
3de8bc7962
commit
fdc9e0cab9
1 file changed
+1
-1
@@ -22,7 +22,7 @@ public class HeroChatListener implements Listener {
|
||||
|
||||
@EventHandler(ignoreCancelled = true, priority = EventPriority.LOWEST)
|
||||
public void onHeroChat(ChannelChatEvent e) {
|
||||
if (!plugin.getShopManager().getActions().containsKey(e.getSender().getName()))
|
||||
if (!plugin.getShopManager().getActions().containsKey(e.getSender().getPlayer().getUniqueId()))
|
||||
return;
|
||||
plugin.getShopManager().handleChat(e.getSender().getPlayer(), e.getMessage());
|
||||
e.setResult(Result.FAIL);
|
||||
|
||||
Reference in new issue
Block a user