diff --git a/piqueserver/commands.py b/piqueserver/commands.py index cbf7d60fe..a0da5f010 100644 --- a/piqueserver/commands.py +++ b/piqueserver/commands.py @@ -293,7 +293,7 @@ def _decorated(connection, *args, **kwargs): # console or irc invokers are required to provide a target else: raise ValueError("Target player is required") - func(connection, *args, **kwargs) + return func(connection, *args, **kwargs) return _decorated def get_player(protocol, value: str, spectators=True):