diff options
author | Tycho <work.tycho+git@gmail.com> | 2014-02-02 15:56:07 +0100 |
---|---|---|
committer | Tycho <work.tycho+git@gmail.com> | 2014-02-02 15:56:07 +0100 |
commit | 0b0aa5554fbb0179e108f0473f4bf732340d1b95 (patch) | |
tree | 36239f98c1c8417483af6a13fed586c32dda811c /src/Mobs/Wolf.cpp | |
parent | Changed Signiture of OnUpdate (diff) | |
parent | Fixed #620 (diff) | |
download | cuberite-0b0aa5554fbb0179e108f0473f4bf732340d1b95.tar cuberite-0b0aa5554fbb0179e108f0473f4bf732340d1b95.tar.gz cuberite-0b0aa5554fbb0179e108f0473f4bf732340d1b95.tar.bz2 cuberite-0b0aa5554fbb0179e108f0473f4bf732340d1b95.tar.lz cuberite-0b0aa5554fbb0179e108f0473f4bf732340d1b95.tar.xz cuberite-0b0aa5554fbb0179e108f0473f4bf732340d1b95.tar.zst cuberite-0b0aa5554fbb0179e108f0473f4bf732340d1b95.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Mobs/Wolf.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Mobs/Wolf.cpp b/src/Mobs/Wolf.cpp index c0c7892e3..ff324d073 100644 --- a/src/Mobs/Wolf.cpp +++ b/src/Mobs/Wolf.cpp @@ -204,6 +204,7 @@ void cWolf::TickFollowPlayer() { if (!IsSitting()) { + Callback.OwnerPos.y = FindFirstNonAirBlockPosition(Callback.OwnerPos.x, Callback.OwnerPos.z); TeleportToCoords(Callback.OwnerPos.x, Callback.OwnerPos.y, Callback.OwnerPos.z); } } |