mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
made pushing disableable in config, php8.1+particial 8.2 comp(not recommended)
This commit is contained in:
parent
79831c457d
commit
cb6e649081
19 changed files with 55 additions and 40 deletions
|
|
@ -41,7 +41,7 @@ class Utils{
|
|||
|
||||
public static function wrapAngleTo360($angle)
|
||||
{
|
||||
$angle %= 360;
|
||||
$angle = fmod($angle, 360);
|
||||
return $angle < 0 ? $angle + 360 : $angle;
|
||||
}
|
||||
public static function wrapAngleTo180($angle)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue