diff options
author | Kirill Kirilenko <root@ultracoder.ru> | 2014-02-01 17:22:12 +0100 |
---|---|---|
committer | Kirill Kirilenko <root@ultracoder.ru> | 2014-02-01 17:22:12 +0100 |
commit | 0d33f2d11d9f9836bfd840a0e83969bbe6e9c49c (patch) | |
tree | cace970a287ad04af9250b64d2a8c2f3f5a996d2 /src | |
parent | Added saving of collar's color. (diff) | |
download | cuberite-0d33f2d11d9f9836bfd840a0e83969bbe6e9c49c.tar cuberite-0d33f2d11d9f9836bfd840a0e83969bbe6e9c49c.tar.gz cuberite-0d33f2d11d9f9836bfd840a0e83969bbe6e9c49c.tar.bz2 cuberite-0d33f2d11d9f9836bfd840a0e83969bbe6e9c49c.tar.lz cuberite-0d33f2d11d9f9836bfd840a0e83969bbe6e9c49c.tar.xz cuberite-0d33f2d11d9f9836bfd840a0e83969bbe6e9c49c.tar.zst cuberite-0d33f2d11d9f9836bfd840a0e83969bbe6e9c49c.zip |
Diffstat (limited to 'src')
-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); } } |