mirror of
https://github.com/Pumpkin-MC/Pumpkin.git
synced 2026-08-30 20:14:23 +00:00
fix: apply patch for command spam
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user