diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2013-11-28 19:22:13 +0100 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2013-11-28 19:22:13 +0100 |
commit | f9e1be0d57f28c72b415c1b6cd37c1c2383c0679 (patch) | |
tree | e075a072a25600b8b22df72e973954bb11312adb /src | |
parent | Made TNT pickups spawning chance 25% (diff) | |
download | cuberite-f9e1be0d57f28c72b415c1b6cd37c1c2383c0679.tar cuberite-f9e1be0d57f28c72b415c1b6cd37c1c2383c0679.tar.gz cuberite-f9e1be0d57f28c72b415c1b6cd37c1c2383c0679.tar.bz2 cuberite-f9e1be0d57f28c72b415c1b6cd37c1c2383c0679.tar.lz cuberite-f9e1be0d57f28c72b415c1b6cd37c1c2383c0679.tar.xz cuberite-f9e1be0d57f28c72b415c1b6cd37c1c2383c0679.tar.zst cuberite-f9e1be0d57f28c72b415c1b6cd37c1c2383c0679.zip |
Diffstat (limited to '')
-rw-r--r-- | src/ChunkMap.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ChunkMap.cpp b/src/ChunkMap.cpp index 75346f9b2..7d5b61346 100644 --- a/src/ChunkMap.cpp +++ b/src/ChunkMap.cpp @@ -1655,7 +1655,7 @@ void cChunkMap::DoExplosionAt(double a_ExplosionSize, double a_BlockX, double a_ default: { - if (m_World->GetTickRandomNumber(4) == 4) // Around 25% chance of pickups + if (m_World->GetTickRandomNumber(100) <= 25) // 25% chance of pickups { cItems Drops; cBlockHandler * Handler = BlockHandler(Block); |