Skip to content

Commit

Permalink
Remove rtps limit
Browse files Browse the repository at this point in the history
  • Loading branch information
BramOtte authored and StackDoubleFlow committed Aug 27, 2024
1 parent 680a8f0 commit 96c8bc6
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions crates/core/src/plot/commands.rs
Original file line number Diff line number Diff line change
Expand Up @@ -294,11 +294,6 @@ impl Plot {
}

let tps = if let Ok(tps) = args[0].parse::<u32>() {
if tps > 100000 {
self.players[player]
.send_error_message("The rtps cannot go higher than 100000!");
return false;
}
Tps::Limited(tps)
} else if !args[0].is_empty() && "unlimited".starts_with(args[0]) {
Tps::Unlimited
Expand Down Expand Up @@ -668,7 +663,7 @@ pub static DECLARE_COMMANDS: Lazy<PacketEncoder> = Lazy::new(|| {
children: &[],
redirect_node: None,
name: Some("rtps"),
parser: Some(Parser::Integer(0, 100000)),
parser: Some(Parser::Integer(0, i32::MAX)),
suggestions_type: None,
},
// 14: //pos1
Expand Down

0 comments on commit 96c8bc6

Please sign in to comment.