Refactored more of Entities and BlockEntities to use Vector3. (#4403)
This commit is contained in:
@@ -9,8 +9,8 @@
|
||||
|
||||
|
||||
|
||||
cHangingEntity::cHangingEntity(eEntityType a_EntityType, eBlockFace a_Facing, double a_X, double a_Y, double a_Z) :
|
||||
cEntity(a_EntityType, a_X, a_Y, a_Z, 0.8, 0.8),
|
||||
cHangingEntity::cHangingEntity(eEntityType a_EntityType, eBlockFace a_Facing, Vector3d a_Pos) :
|
||||
super(a_EntityType, a_Pos, 0.8, 0.8),
|
||||
m_Facing(cHangingEntity::BlockFaceToProtocolFace(a_Facing))
|
||||
{
|
||||
SetMaxHealth(1);
|
||||
|
||||
Reference in New Issue
Block a user