summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Behaviors/BehaviorItemFollower.h
diff options
context:
space:
mode:
authorLogicParrot <LogicParrot@users.noreply.github.com>2017-08-30 09:44:56 +0200
committerLogicParrot <LogicParrot@users.noreply.github.com>2017-08-30 09:44:56 +0200
commit172943dcf6e621a691ed988b08fa065f09e258a4 (patch)
treec1a0f68c6ca4ef1b2561045d84bad2646d6112c6 /src/Mobs/Behaviors/BehaviorItemFollower.h
parentd (diff)
downloadcuberite-172943dcf6e621a691ed988b08fa065f09e258a4.tar
cuberite-172943dcf6e621a691ed988b08fa065f09e258a4.tar.gz
cuberite-172943dcf6e621a691ed988b08fa065f09e258a4.tar.bz2
cuberite-172943dcf6e621a691ed988b08fa065f09e258a4.tar.lz
cuberite-172943dcf6e621a691ed988b08fa065f09e258a4.tar.xz
cuberite-172943dcf6e621a691ed988b08fa065f09e258a4.tar.zst
cuberite-172943dcf6e621a691ed988b08fa065f09e258a4.zip
Diffstat (limited to '')
-rw-r--r--src/Mobs/Behaviors/BehaviorItemFollower.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Mobs/Behaviors/BehaviorItemFollower.h b/src/Mobs/Behaviors/BehaviorItemFollower.h
index e0a8a85e4..8c79ec763 100644
--- a/src/Mobs/Behaviors/BehaviorItemFollower.h
+++ b/src/Mobs/Behaviors/BehaviorItemFollower.h
@@ -1,10 +1,11 @@
#pragma once
-// Makes the mob follow specific held items
+
class cBehaviorItemFollower;
#include "Behavior.h"
-
+/** Makes the mob follow specific items when held by the player.
+Currently relies on cMonster::GetFollowedItems for the item list. */
class cBehaviorItemFollower : public cBehavior
{
public: