Skip to content

Commit

Permalink
this may be safer?
Browse files Browse the repository at this point in the history
  • Loading branch information
Revxrsal committed Jan 30, 2024
1 parent ca5aec4 commit f821db3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public void onUnknownCommand(UnknownCommandEvent event) {
stripNamespace(fallbackPrefix, event.getCommandLine())
);
if (commands.containsKey(args.getFirst())) {
event.message(null);
event.setMessage(null);
BukkitCommandActor actor = BukkitCommandActor.wrap(event.getSender(), handler);
try {
// This will automatically fail, we can then easily get the
Expand Down

0 comments on commit f821db3

Please sign in to comment.