hopefully replaced spaces with tabs everywhere

This commit is contained in:
GameHerobrine 2024-08-17 16:21:02 +03:00
parent ed4f820ff3
commit 89eb7097a3
42 changed files with 324 additions and 324 deletions

View file

@ -14,13 +14,13 @@ class Utils{
}*/
const emojiRegex = "([*#0-9](?>\\xEF\\xB8\\x8F)?\\xE2\\x83\\xA3|\\xC2[\\xA9\\xAE]|\\xE2..(\\xF0\\x9F\\x8F[\\xBB-\\xBF])?(?>\\xEF\\xB8\\x8F)?|\\xE3(?>\\x80[\\xB0\\xBD]|\\x8A[\\x97\\x99])(?>\\xEF\\xB8\\x8F)?|\\xF0\\x9F(?>[\\x80-\\x86].(?>\\xEF\\xB8\\x8F)?|\\x87.\\xF0\\x9F\\x87.|..(\\xF0\\x9F\\x8F[\\xBB-\\xBF])?|(((?<zwj>\\xE2\\x80\\x8D)\\xE2\\x9D\\xA4\\xEF\\xB8\\x8F\k<zwj>\\xF0\\x9F..(\k<zwj>\\xF0\\x9F\\x91.)?|(\\xE2\\x80\\x8D\\xF0\\x9F\\x91.){2,3}))?))";
public static function getEntityTypeByID($id){
return match ($id) {
10, 11, 12, 13, 32, 33, 34, 35, 36 => ENTITY_MOB,
62, 65, 80, 81, 82, 83, 84 => ENTITY_OBJECT,
66 => FALLING_SAND,
default => $id,
};
}
return match ($id) {
10, 11, 12, 13, 32, 33, 34, 35, 36 => ENTITY_MOB,
62, 65, 80, 81, 82, 83, 84 => ENTITY_OBJECT,
66 => FALLING_SAND,
default => $id,
};
}
public static function wrapAngleTo360($angle)
{