forgot to add this to the merge

This commit is contained in:
Dylan K. Taylor 2017-08-17 17:27:49 +01:00
parent 4f1302adf2
commit b6fb2bca13

View File

@ -436,8 +436,8 @@ abstract class Entity extends Location implements Metadatable{
$this->attributeMap = new AttributeMap();
$this->addAttributes();
$this->setDataFlag(self::DATA_FLAGS, self::DATA_FLAG_AFFECTED_BY_GRAVITY, true);
$this->setDataFlag(self::DATA_FLAGS, self::DATA_FLAG_HAS_COLLISION, true);
$this->setGenericFlag(self::DATA_FLAG_AFFECTED_BY_GRAVITY, true);
$this->setGenericFlag(self::DATA_FLAG_HAS_COLLISION, true);
$this->chunk->addEntity($this);
$this->level->addEntity($this);