Skip to content

Commit

Permalink
chore(cmd): 移除指令方块的debug消息
Browse files Browse the repository at this point in the history
  • Loading branch information
CarmJos committed Jul 4, 2022
1 parent 4ba3e35 commit 71d83e1
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ public class GameListener extends EasyListener {
public GameListener(Plugin plugin) {
super(plugin);

handleEvent(ServerCommandEvent.class)
.filter(e -> e.getSender() instanceof BlockCommandSender)
.handle(e -> {
BlockCommandSender sender = (BlockCommandSender) e.getSender();
Main.getInstance().log(sender.getBlock().getLocation().toString());
});
// handleEvent(ServerCommandEvent.class)
// .filter(e -> e.getSender() instanceof BlockCommandSender)
// .handle(e -> {
// BlockCommandSender sender = (BlockCommandSender) e.getSender();
// Main.getInstance().log(sender.getBlock().getLocation().toString());
// });
}

@EventHandler
Expand Down

0 comments on commit 71d83e1

Please sign in to comment.