mirror of
https://git.neolegacy.dev/neoStudiosLCE/neoLegacy.git
synced 2026-11-20 04:28:04 +01:00
fix: item frames in tutorial + non-ugc worlds
still gotta fix it a little though
This commit is contained in:
1 parent
a7cad496e3
commit
bcb6fb9db1
5 files changed
+93
-35
No files matched your search
@@ -89,6 +89,16 @@ int Direction::getDirection(double xd, double zd)
|
||||
}
|
||||
}
|
||||
|
||||
int Direction::from2DDataValue(int param)
|
||||
{
|
||||
return (param & 3);
|
||||
}
|
||||
|
||||
int Direction::getOpposite(int dir)
|
||||
{
|
||||
return DIRECTION_OPPOSITE[dir & 3];
|
||||
}
|
||||
|
||||
int Direction::getDirection(int x0, int z0, int x1, int z1)
|
||||
{
|
||||
int xd = x0 - x1;
|
||||
|
||||
Reference in new issue
Block a user