Fix Inception
Reset inception counter when a chat alias is used, since it won't come back through the command pre-process listener to reset the counter.main
parent
1848569b0a
commit
44fa5eb4c2
|
@ -111,6 +111,7 @@ public class CommandPreprocessListener implements Listener {
|
|||
} else {
|
||||
player.sendMessage(ChatColor.RED + usage(base, alias.getTo()));
|
||||
}
|
||||
loops.put(player.getUniqueId().toString(), 0); // Reset the inception counter for chat aliases before returning.
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue