mirror of
https://github.com/kaboomserver/extras.git
synced 2025-01-07 23:17:55 +00:00
Additional fix for distance exploit (#7)
This commit is contained in:
parent
7f33a50977
commit
317d930731
1 changed files with 1 additions and 1 deletions
|
@ -153,7 +153,7 @@ public final class ServerCommand implements Listener {
|
|||
}
|
||||
|
||||
if (command.contains("distance")) {
|
||||
return command.replace("distance=", "").replace("\"distance\"=", "").replace("'distance'=", "");
|
||||
return command.replace("distance=", "]").replace("\"distance\"=", "]").replace("'distance'=", "]");
|
||||
}
|
||||
|
||||
return null;
|
||||
|
|
Loading…
Reference in a new issue