diff options
author | LogicParrot <LogicParrot@users.noreply.github.com> | 2017-08-22 14:15:36 +0200 |
---|---|---|
committer | LogicParrot <LogicParrot@users.noreply.github.com> | 2017-08-22 19:55:30 +0200 |
commit | 18c3dd3b4fc6c40c103296e7b5a53a99fa5e758e (patch) | |
tree | 221db2c2a9f4c3388f50edf79d38448ca1a0e4a2 /src/Mobs/Behaviors/BehaviorItemFollower.cpp | |
parent | d (diff) | |
download | cuberite-18c3dd3b4fc6c40c103296e7b5a53a99fa5e758e.tar cuberite-18c3dd3b4fc6c40c103296e7b5a53a99fa5e758e.tar.gz cuberite-18c3dd3b4fc6c40c103296e7b5a53a99fa5e758e.tar.bz2 cuberite-18c3dd3b4fc6c40c103296e7b5a53a99fa5e758e.tar.lz cuberite-18c3dd3b4fc6c40c103296e7b5a53a99fa5e758e.tar.xz cuberite-18c3dd3b4fc6c40c103296e7b5a53a99fa5e758e.tar.zst cuberite-18c3dd3b4fc6c40c103296e7b5a53a99fa5e758e.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Mobs/Behaviors/BehaviorItemFollower.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Mobs/Behaviors/BehaviorItemFollower.cpp b/src/Mobs/Behaviors/BehaviorItemFollower.cpp index 89e25ed57..275cb8c24 100644 --- a/src/Mobs/Behaviors/BehaviorItemFollower.cpp +++ b/src/Mobs/Behaviors/BehaviorItemFollower.cpp @@ -21,7 +21,7 @@ bool cBehaviorItemFollower::ActiveTick() { cWorld * World = m_Parent->GetWorld(); cItems FollowedItems; - m_ParentInterface->GetFollowedItems(FollowedItems); + m_Parent->GetFollowedItems(FollowedItems); if (FollowedItems.Size() > 0) { cPlayer * a_Closest_Player = m_Parent->GetNearestPlayer(); |