diff --git a/pumpkin/src/main.rs b/pumpkin/src/main.rs index e4db13870..cc9ef23b5 100644 --- a/pumpkin/src/main.rs +++ b/pumpkin/src/main.rs @@ -94,7 +94,10 @@ fn main() -> io::Result<()> { stdin .read_line(&mut out) .expect("Failed to read console line"); - handle_command(&mut commands::CommandSender::Console, &out); + + if !out.is_empty() { + handle_command(&mut commands::CommandSender::Console, &out); + } } }); }