Misc patches

This commit is contained in:
Er2
2024-03-28 14:39:40 +03:00
parent c9b4449bac
commit b8c01e085f
119 changed files with 1414 additions and 794 deletions

View File

@@ -40,6 +40,7 @@ bool Sapling::maybeGrowTree(Level* level, int x, int y, int z, Random* random)
BirchFeature birchFeature;
SpruceFeature spruceFeature;
#if 0 // unused wtf
Feature* pFeature = &treeFeature;
int data = level->getData(x, y, z);
@@ -52,6 +53,7 @@ bool Sapling::maybeGrowTree(Level* level, int x, int y, int z, Random* random)
pFeature = &spruceFeature;
break;
}
#endif
return treeFeature.place(level, random, x, y, z);
}