changed min speed to 1/8000 (setentitymotion packet limit)

This commit is contained in:
GameHerobrine 2023-11-23 10:24:37 +03:00
parent c7167f3137
commit 0a31a1e3c9
2 changed files with 7 additions and 7 deletions

View file

@ -48,7 +48,7 @@ class EntityAPI{
}
if(is_int($args[0])) $type = $args[0];
else $type = $mob[strtolower($args[0])];
else $type = $mob[strtolower($args[0])] ?? 0;
if($type < 10 || $type > 36){
return "Unknown mob.";
}