limit chunks non-unloading zone to a circle

This commit is contained in:
MihailRis
2025-07-13 15:57:57 +03:00
parent b02b454573
commit 15a778299c
6 changed files with 68 additions and 6 deletions
+2
View File
@@ -32,6 +32,8 @@ public:
int64_t maxDuration, int loadDistance, uint padding, Player& player
) const;
bool isInLoadingZone(const Player& player, uint padding, int x, int z) const;
const WorldGenerator* getGenerator() const {
return generator.get();
}