diff options
author | Mat <mail@mathias.is> | 2020-03-27 19:29:43 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-27 19:29:43 +0100 |
commit | c9b3d2d95a36fe473a8e40594c2503ca9eaf436f (patch) | |
tree | 0ead89a8bc69c6dd0c4a072c416338624e84f14c /src | |
parent | Updated plugin list format (#4557) (diff) | |
download | cuberite-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 '')
-rw-r--r-- | src/MobSpawner.cpp | 2 |
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)) ); } |