diff --git a/src/main/java/net/minestom/server/command/CommandManager.java b/src/main/java/net/minestom/server/command/CommandManager.java index faffa6f57..68105b5b7 100644 --- a/src/main/java/net/minestom/server/command/CommandManager.java +++ b/src/main/java/net/minestom/server/command/CommandManager.java @@ -42,7 +42,6 @@ import java.util.function.Consumer; public final class CommandManager { public static final String COMMAND_PREFIX = "/"; - private static final String CONSOLE_PREFIX = "> "; private volatile boolean running = true; @@ -233,7 +232,6 @@ public final class CommandManager { public void startConsoleThread() { Thread consoleThread = new Thread(() -> { BufferedReader bi = new BufferedReader(new InputStreamReader(System.in)); - System.out.print(CONSOLE_PREFIX); while (running) { try { @@ -241,8 +239,6 @@ public final class CommandManager { if (bi.ready()) { final String command = bi.readLine(); execute(consoleSender, command); - - System.out.print(CONSOLE_PREFIX); } } catch (IOException e) { MinecraftServer.getExceptionManager().handleException(e); diff --git a/src/main/java/net/minestom/server/listener/UseEntityListener.java b/src/main/java/net/minestom/server/listener/UseEntityListener.java index 4d81b6f1f..321f6eb78 100644 --- a/src/main/java/net/minestom/server/listener/UseEntityListener.java +++ b/src/main/java/net/minestom/server/listener/UseEntityListener.java @@ -30,8 +30,8 @@ public class UseEntityListener { player.callEvent(PlayerEntityInteractEvent.class, playerEntityInteractEvent); } else { // TODO find difference with INTERACT - PlayerEntityInteractEvent playerEntityInteractEvent = new PlayerEntityInteractEvent(player, entity, packet.hand); - player.callEvent(PlayerEntityInteractEvent.class, playerEntityInteractEvent); + //PlayerEntityInteractEvent playerEntityInteractEvent = new PlayerEntityInteractEvent(player, entity, packet.hand); + //player.callEvent(PlayerEntityInteractEvent.class, playerEntityInteractEvent); } }