summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMat <mail@mathias.is>2020-03-27 19:29:43 +0100
committerGitHub <noreply@github.com>2020-03-27 19:29:43 +0100
commitc9b3d2d95a36fe473a8e40594c2503ca9eaf436f (patch)
tree0ead89a8bc69c6dd0c4a072c416338624e84f14c /src
parentUpdated plugin list format (#4557) (diff)
downloadcuberite-c9b3d2d95a36fe473a8e40594c2503ca9eaf436f.tar
cuberite-c9b3d2d95a36fe473a8e40594c2503ca9eaf436f.tar.gz
cuberite-c9b3d2d95a36fe473a8e40594c2503ca9eaf436f.tar.bz2
cuberite-c9b3d2d95a36fe473a8e40594c2503ca9eaf436f.tar.lz
cuberite-c9b3d2d95a36fe473a8e40594c2503ca9eaf436f.tar.xz
cuberite-c9b3d2d95a36fe473a8e40594c2503ca9eaf436f.tar.zst
cuberite-c9b3d2d95a36fe473a8e40594c2503ca9eaf436f.zip
Diffstat (limited to 'src')
-rw-r--r--src/MobSpawner.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/MobSpawner.cpp b/src/MobSpawner.cpp
index 0869e7282..8d7c6cd6b 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())
+ (random.RandBool(0.1))
);
}