fixing so that the player option in /log is accessible.
This commit is contained in:
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[]{}
|
||||||
|
|||||||
Reference in new issue
Block a user