How about we declare async commands as async
This commit is contained in:
parent
1e9cf01e23
commit
98d3b8cf0d
@ -40,7 +40,7 @@ public class FactionsChatListener implements Listener
|
|||||||
ChatMode chat = me.getChatMode();
|
ChatMode chat = me.getChatMode();
|
||||||
|
|
||||||
// slashless factions commands need to be handled here if the user isn't in public chat mode
|
// slashless factions commands need to be handled here if the user isn't in public chat mode
|
||||||
if (chat != ChatMode.PUBLIC && p.handleCommand(talkingPlayer, msg))
|
if (chat != ChatMode.PUBLIC && p.handleCommand(talkingPlayer, msg, false, true))
|
||||||
{
|
{
|
||||||
if (Conf.logPlayerCommands)
|
if (Conf.logPlayerCommands)
|
||||||
Bukkit.getLogger().log(Level.INFO, "[PLAYER_COMMAND] "+talkingPlayer.getName()+": "+msg);
|
Bukkit.getLogger().log(Level.INFO, "[PLAYER_COMMAND] "+talkingPlayer.getName()+": "+msg);
|
||||||
|
Loading…
Reference in New Issue
Block a user