mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2026-04-04 23:06:08 +00:00
whoops small oversight
This commit is contained in:
@@ -350,7 +350,7 @@ impl Server {
|
||||
let mut allowed = true;
|
||||
for v in res {
|
||||
match v {
|
||||
Argument::Number(n) => if n == 1f32 || n == -1f32 { allowed = false; },
|
||||
Argument::Number(n) => if n == 1f32 { allowed = false; },
|
||||
Argument::Boolean(b) => if b { allowed = false; },
|
||||
_ => {}, // TODO: Handle this somehow?
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user