diff options
author | STRWarrior <niels.breuker@hotmail.nl> | 2014-05-10 17:03:02 +0200 |
---|---|---|
committer | STRWarrior <niels.breuker@hotmail.nl> | 2014-05-10 17:03:02 +0200 |
commit | 7f3683cfab490ca74eb61101dc00c57c2c6682e5 (patch) | |
tree | 086ed13caa03fc54a6e116fc1ae35c81644179de | |
parent | Each time a portal block receives a tick it has a 1 in 500 chance of spawning a zombie pigman. (diff) | |
download | cuberite-7f3683cfab490ca74eb61101dc00c57c2c6682e5.tar cuberite-7f3683cfab490ca74eb61101dc00c57c2c6682e5.tar.gz cuberite-7f3683cfab490ca74eb61101dc00c57c2c6682e5.tar.bz2 cuberite-7f3683cfab490ca74eb61101dc00c57c2c6682e5.tar.lz cuberite-7f3683cfab490ca74eb61101dc00c57c2c6682e5.tar.xz cuberite-7f3683cfab490ca74eb61101dc00c57c2c6682e5.tar.zst cuberite-7f3683cfab490ca74eb61101dc00c57c2c6682e5.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Blocks/BlockPortal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Blocks/BlockPortal.h b/src/Blocks/BlockPortal.h index 9f78f230e..47f0bca64 100644 --- a/src/Blocks/BlockPortal.h +++ b/src/Blocks/BlockPortal.h @@ -42,7 +42,7 @@ public: virtual void OnUpdate(cChunkInterface & cChunkInterface, cWorldInterface & a_WorldInterface, cBlockPluginInterface & a_PluginInterface, cChunk & a_Chunk, int a_RelX, int a_RelY, int a_RelZ) override { cFastRandom Random; - if (Random.NextInt(500) != 0) + if (Random.NextInt(2000) != 0) { return; } |