Use entity IDs in EntityDamageBy*EntityEvents, fixed memory leaks related to PvP/PvE/PvM (#418)

This commit is contained in:
Dylan K. Taylor
2017-03-13 10:30:31 +00:00
committed by GitHub
parent 083d1e9ef8
commit 92193fd27b
8 changed files with 63 additions and 17 deletions

View File

@ -1652,6 +1652,7 @@ abstract class Entity extends Location implements Metadatable{
}
$this->namedtag = null;
$this->lastDamageCause = null;
}
}