fix: apply patch for command spam

This commit is contained in:
Erb3
2024-08-21 21:00:18 +02:00
parent 491ff10a3d
commit c64cdb2366

View File

@@ -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);
}
}
});
}