summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSTRWarrior <niels.breuker@hotmail.nl>2014-05-10 17:03:02 +0200
committerSTRWarrior <niels.breuker@hotmail.nl>2014-05-10 17:03:02 +0200
commit7f3683cfab490ca74eb61101dc00c57c2c6682e5 (patch)
tree086ed13caa03fc54a6e116fc1ae35c81644179de
parentEach time a portal block receives a tick it has a 1 in 500 chance of spawning a zombie pigman. (diff)
downloadcuberite-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.h2
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;
}