mirror of
https://github.com/GabsPuNs/Project-Zenith-Main.git
synced 2026-05-22 10:44:49 +00:00
TU24
This commit is contained in:
@@ -283,7 +283,7 @@ void BasicTree::limb(int *start, int *end, int material)
|
||||
coordinate[secidx1] = Mth::floor(start[secidx1] + (primoffset * secfac1) + 0.5);
|
||||
coordinate[secidx2] = Mth::floor(start[secidx2] + (primoffset * secfac2) + 0.5);
|
||||
|
||||
int dir = LogTile::FACING_Y;
|
||||
int dir = TreeTile::FACING_Y;
|
||||
int xdiff = abs(coordinate[0] - start[0]);
|
||||
int zdiff = abs(coordinate[2] - start[2]);
|
||||
int maxdiff = max(xdiff, zdiff);
|
||||
@@ -292,11 +292,11 @@ void BasicTree::limb(int *start, int *end, int material)
|
||||
{
|
||||
if (xdiff == maxdiff)
|
||||
{
|
||||
dir = LogTile::FACING_X;
|
||||
dir = TreeTile::FACING_X;
|
||||
}
|
||||
else if (zdiff == maxdiff)
|
||||
{
|
||||
dir = LogTile::FACING_Z;
|
||||
dir = TreeTile::FACING_Z;
|
||||
}
|
||||
}
|
||||
placeBlock(thisLevel, coordinate[0], coordinate[1], coordinate[2], material, dir);
|
||||
|
||||
Reference in New Issue
Block a user