Skip to content

Commit

Permalink
fix: apply patch for command spam
Browse files Browse the repository at this point in the history
  • Loading branch information
Erb3 committed Aug 21, 2024
1 parent 491ff10 commit c64cdb2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pumpkin/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
});
}
Expand Down

0 comments on commit c64cdb2

Please sign in to comment.