diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-08-01 23:05:40 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-08-01 23:15:32 +0200 |
commit | c865fc8ca501e7405da2ce8353628373e4526053 (patch) | |
tree | 373f5d8a3347d0ef146f3730bc9073a4bfd94285 /src/Mobs/Monster.cpp | |
parent | Merge pull request #1255 from mc-server/NameToUUID (diff) | |
download | cuberite-c865fc8ca501e7405da2ce8353628373e4526053.tar cuberite-c865fc8ca501e7405da2ce8353628373e4526053.tar.gz cuberite-c865fc8ca501e7405da2ce8353628373e4526053.tar.bz2 cuberite-c865fc8ca501e7405da2ce8353628373e4526053.tar.lz cuberite-c865fc8ca501e7405da2ce8353628373e4526053.tar.xz cuberite-c865fc8ca501e7405da2ce8353628373e4526053.tar.zst cuberite-c865fc8ca501e7405da2ce8353628373e4526053.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Mobs/Monster.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Mobs/Monster.cpp b/src/Mobs/Monster.cpp index 622a67816..94df991a3 100644 --- a/src/Mobs/Monster.cpp +++ b/src/Mobs/Monster.cpp @@ -276,7 +276,9 @@ void cMonster::Tick(float a_Dt, cChunk & a_Chunk) if (DoesPosYRequireJump((int)floor(m_Destination.y))) { m_bOnGround = false; - AddSpeedY(5.2); // Jump!! + + // TODO: Change to AddSpeedY once collision detection is fixed - currently, mobs will go into blocks attempting to jump without a teleport + AddPosY(1.2); // Jump!! } } |