diff options
author | Bond-009 <bond.009@outlook.com> | 2018-04-11 13:17:30 +0200 |
---|---|---|
committer | Alexander Harkness <me@bearbin.net> | 2018-04-11 13:17:30 +0200 |
commit | 98d807187bbaec4cd65dbe7c1ecac0435efb6df0 (patch) | |
tree | d917cf6bc68e013ff1229303d3668c2947b2682b /src/World.cpp | |
parent | Update m_LastSentPosition in TeleportToCoords and DoMoveToWorld. (#4211) (diff) | |
download | cuberite-98d807187bbaec4cd65dbe7c1ecac0435efb6df0.tar cuberite-98d807187bbaec4cd65dbe7c1ecac0435efb6df0.tar.gz cuberite-98d807187bbaec4cd65dbe7c1ecac0435efb6df0.tar.bz2 cuberite-98d807187bbaec4cd65dbe7c1ecac0435efb6df0.tar.lz cuberite-98d807187bbaec4cd65dbe7c1ecac0435efb6df0.tar.xz cuberite-98d807187bbaec4cd65dbe7c1ecac0435efb6df0.tar.zst cuberite-98d807187bbaec4cd65dbe7c1ecac0435efb6df0.zip |
Diffstat (limited to 'src/World.cpp')
-rw-r--r-- | src/World.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/World.cpp b/src/World.cpp index 1b7bc8643..adbac33bf 100644 --- a/src/World.cpp +++ b/src/World.cpp @@ -1199,7 +1199,7 @@ void cWorld::TickMobs(std::chrono::milliseconds a_Dt) else { auto & Wolf = static_cast<cWolf &>(Monster); - if (Wolf.IsAngry()) + if (!Wolf.IsAngry() && !Wolf.IsTame()) { Monster.Destroy(true); } |