diff options
Diffstat (limited to 'src/Entities/LeashKnot.h')
-rw-r--r-- | src/Entities/LeashKnot.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/Entities/LeashKnot.h b/src/Entities/LeashKnot.h index 1a854ef34..685dbec5b 100644 --- a/src/Entities/LeashKnot.h +++ b/src/Entities/LeashKnot.h @@ -13,15 +13,14 @@ class cWorldInterface; class cLeashKnot : public cHangingEntity { - typedef cHangingEntity super; - -public: - // tolua_end + using super = cHangingEntity; + +public: // tolua_export CLASS_PROTODEF(cLeashKnot) - cLeashKnot(eBlockFace a_BlockFace, double a_X, double a_Y, double a_Z); + cLeashKnot(eBlockFace a_BlockFace, Vector3d a_Pos); /** Looks for mobs leashed to a player and ties them to this knot */ void TiePlayersLeashedMobs(cPlayer & a_Player, bool a_ShouldBroadCast); |