diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2013-12-10 22:24:02 +0100 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2013-12-10 22:24:02 +0100 |
commit | 9987611792c773b92bfa29508e20d39bcc53e0c3 (patch) | |
tree | d8593e82fc4acd6cdec295983e0076c6f4594e47 /src/Blocks | |
parent | Merge pull request #414 from worktycho/abortondeadlock (diff) | |
download | cuberite-9987611792c773b92bfa29508e20d39bcc53e0c3.tar cuberite-9987611792c773b92bfa29508e20d39bcc53e0c3.tar.gz cuberite-9987611792c773b92bfa29508e20d39bcc53e0c3.tar.bz2 cuberite-9987611792c773b92bfa29508e20d39bcc53e0c3.tar.lz cuberite-9987611792c773b92bfa29508e20d39bcc53e0c3.tar.xz cuberite-9987611792c773b92bfa29508e20d39bcc53e0c3.tar.zst cuberite-9987611792c773b92bfa29508e20d39bcc53e0c3.zip |
Diffstat (limited to 'src/Blocks')
-rw-r--r-- | src/Blocks/BlockHandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Blocks/BlockHandler.cpp b/src/Blocks/BlockHandler.cpp index fde6bd803..d377823f7 100644 --- a/src/Blocks/BlockHandler.cpp +++ b/src/Blocks/BlockHandler.cpp @@ -375,7 +375,7 @@ void cBlockHandler::DropBlock(cWorld * a_World, cEntity * a_Digger, int a_BlockX MicroY = a_BlockY + 0.5; MicroZ = a_BlockZ + 0.5; - // Add random offset second (this causes pickups to spawn inside blocks most times, it's a little buggy) + // Add random offset second MicroX += r1.rand(1) - 0.5; MicroZ += r1.rand(1) - 0.5; |