mirror of
https://github.com/kaboomserver/extras.git
synced 2025-01-09 07:57:10 +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")) {
|
if (command.contains("distance")) {
|
||||||
return command.replace("distance=", "").replace("\"distance\"=", "").replace("'distance'=", "");
|
return command.replace("distance=", "]").replace("\"distance\"=", "]").replace("'distance'=", "]");
|
||||||
}
|
}
|
||||||
|
|
||||||
return null;
|
return null;
|
||||||
|
|
Loading…
Reference in a new issue