mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
changed min speed to 1/8000 (setentitymotion packet limit)
This commit is contained in:
parent
c7167f3137
commit
0a31a1e3c9
2 changed files with 7 additions and 7 deletions
|
|
@ -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.";
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue