mirror of
https://github.com/MassiveCraft/Factions.git
synced 2024-11-19 16:55:21 +01:00
Updated /f map compass to use new official north
This commit is contained in:
parent
bb8ae0a99c
commit
bf69f6fd01
@ -38,7 +38,7 @@ public class AsciiCompass
|
|||||||
|
|
||||||
public static AsciiCompass.Point getCompassPointForDirection(double inDegrees)
|
public static AsciiCompass.Point getCompassPointForDirection(double inDegrees)
|
||||||
{
|
{
|
||||||
double degrees = (inDegrees - 90) % 360 ;
|
double degrees = (inDegrees - 180) % 360 ;
|
||||||
if (degrees < 0)
|
if (degrees < 0)
|
||||||
degrees += 360;
|
degrees += 360;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user