fixing so that the player option in /log is accessible.

This commit is contained in:
gnembon committed 2021-01-26 04:25:57 -04:00
1 parent 42ea68e740
commit 58b6974369
1 file changed
+1 -1
@@ -43,7 +43,7 @@ public class LogCommand
c.getSource(), c.getSource(),
c.getSource().getName(), c.getSource().getName(),
getString(c, "log name")))). getString(c, "log name")))).
then(CommandManager.argument("option", StringArgumentType.greedyString()). then(CommandManager.argument("option", StringArgumentType.string()).
suggests( (c, b) -> suggestMatching( suggests( (c, b) -> suggestMatching(
(LoggerRegistry.getLogger(getString(c, "log name"))==null (LoggerRegistry.getLogger(getString(c, "log name"))==null
?new String[]{} ?new String[]{}