1
0

A portal block now chooses a number between 2000 and 0

This commit is contained in:
STRWarrior 2014-05-10 17:03:02 +02:00
parent 3b1f11bd6a
commit 7f3683cfab

View File

@ -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;
}