mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2025-07-18 10:32:30 +00:00
Fix flora bug
This commit is contained in:
parent
ecf9a583dd
commit
0630c9e674
@ -84,7 +84,7 @@ public class FloraConfig extends TerraConfigObject implements Flora {
|
|||||||
}
|
}
|
||||||
for(int i = 0; Math.abs(i) < size; i+=c) { // Down if ceiling, up if floor
|
for(int i = 0; Math.abs(i) < size; i+=c) { // Down if ceiling, up if floor
|
||||||
int lvl = (Math.abs(i));
|
int lvl = (Math.abs(i));
|
||||||
location.clone().add(0, i+c, 0).getBlock().setBlockData(floraPalette.get((ceiling ? lvl : size-lvl+1), location.getBlockX(), location.getBlockZ()), physics);
|
location.clone().add(0, i+c, 0).getBlock().setBlockData(floraPalette.get((ceiling ? lvl : size-lvl-1), location.getBlockX(), location.getBlockZ()), physics);
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user