Block unknown is useless, pretend to support it but actually just make it the default blocked command message

This commit is contained in:
Business Goose 2022-03-29 23:15:34 +01:00
parent bedb4618cf
commit 3ba470d580
No known key found for this signature in database
GPG key ID: 77DCA801362E9645

View file

@ -316,12 +316,6 @@ public class CommandBlocker
return;
}
if (action == CommandBlockerAction.BLOCK_UNKNOWN)
{
Utilities.playerMsg(sender, "Unknown command. Type \"help\" for help.", ChatColor.RESET);
return;
}
Utilities.playerMsg(sender, Utilities.colorize(message));
}
}