summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMat <mail@mathias.is>2020-03-27 20:00:26 +0100
committerGitHub <noreply@github.com>2020-03-27 20:00:26 +0100
commit92cf553bf8c2395613740c02f6d0d46285f15904 (patch)
treee8334c57edd3b063cfad3a0ed72121c6882b0dfe
parentReduce ghast spawn rate (diff)
downloadcuberite-92cf553bf8c2395613740c02f6d0d46285f15904.tar
cuberite-92cf553bf8c2395613740c02f6d0d46285f15904.tar.gz
cuberite-92cf553bf8c2395613740c02f6d0d46285f15904.tar.bz2
cuberite-92cf553bf8c2395613740c02f6d0d46285f15904.tar.lz
cuberite-92cf553bf8c2395613740c02f6d0d46285f15904.tar.xz
cuberite-92cf553bf8c2395613740c02f6d0d46285f15904.tar.zst
cuberite-92cf553bf8c2395613740c02f6d0d46285f15904.zip
-rw-r--r--src/MobSpawner.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/MobSpawner.cpp b/src/MobSpawner.cpp
index 8d7c6cd6b..41855a638 100644
--- a/src/MobSpawner.cpp
+++ b/src/MobSpawner.cpp
@@ -198,7 +198,7 @@ bool cMobSpawner::CanSpawnHere(cChunk * a_Chunk, Vector3i a_RelPos, eMonsterType
return (
(targetBlock == E_BLOCK_AIR) &&
(blockAbove == E_BLOCK_AIR) &&
- (random.RandBool(0.1))
+ (random.RandBool(0.01))
);
}