diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-05-31 18:46:05 +0200 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-05-31 18:46:05 +0200 |
commit | 85cf908260c9be46e1d893edc041e0144d3ca255 (patch) | |
tree | dda70687b32f62b01b42fa0911294c5a2a09fad9 /source/cChunk.cpp | |
parent | My first Lua plugin, yay! sTick allows a player to force a blocktick on any block by rightclicking it with a stick. (diff) | |
download | cuberite-85cf908260c9be46e1d893edc041e0144d3ca255.tar cuberite-85cf908260c9be46e1d893edc041e0144d3ca255.tar.gz cuberite-85cf908260c9be46e1d893edc041e0144d3ca255.tar.bz2 cuberite-85cf908260c9be46e1d893edc041e0144d3ca255.tar.lz cuberite-85cf908260c9be46e1d893edc041e0144d3ca255.tar.xz cuberite-85cf908260c9be46e1d893edc041e0144d3ca255.tar.zst cuberite-85cf908260c9be46e1d893edc041e0144d3ca255.zip |
Diffstat (limited to '')
-rw-r--r-- | source/cChunk.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/cChunk.cpp b/source/cChunk.cpp index 024e50adc..de8e3134c 100644 --- a/source/cChunk.cpp +++ b/source/cChunk.cpp @@ -656,7 +656,7 @@ void cChunk::TickMelonPumpkin(int a_RelX, int a_RelY, int a_RelZ, int a_BlockIdx // Pick a direction in which to place the produce:
int x = 0, z = 0;
- int CheckType = a_TickRandom.randInt(4); // The index to the neighbors array which should be checked for emptiness
+ int CheckType = a_TickRandom.randInt(3); // The index to the neighbors array which should be checked for emptiness
switch (CheckType)
{
case 0: x = 1; break;
|