fix tree determinism issues

This commit is contained in:
dfsek
2021-01-14 20:48:07 -07:00
parent 764344b4ef
commit 87f7af1e1b
2 changed files with 6 additions and 2 deletions
@@ -24,7 +24,7 @@ public class TreeLayer extends PlaceableLayer<Tree> {
for(int ignored : level) {
current = current.getRelative(BlockFace.DOWN);
if(item.getSpawnable().contains(current.getType())) {
item.plant(current.getLocation().add(0, 1, 0), PopulationUtil.getRandom(chunk));
item.plant(current.getLocation().add(0, 1, 0), PopulationUtil.getRandom(chunk, coords.hashCode()));
}
}
}