Merge branch '3.5'

This commit is contained in:
Dylan K. Taylor
2019-01-19 16:24:41 +00:00
5 changed files with 34 additions and 16 deletions

View File

@ -314,7 +314,7 @@ abstract class Projectile extends Entity{
$entityHit->attack($ev);
if($this->fireTicks > 0){
if($this->isOnFire()){
$ev = new EntityCombustByEntityEvent($this, $entityHit, 5);
$ev->call();
if(!$ev->isCancelled()){