mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-12 22:45:28 +00:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
99d4ff5bdb
@ -436,7 +436,7 @@ abstract class Entity extends Position implements Metadatable{
|
|||||||
}
|
}
|
||||||
}else{
|
}else{
|
||||||
if(($this->fireTicks % 20) === 0){
|
if(($this->fireTicks % 20) === 0){
|
||||||
$this->attack(1, "onFire");
|
$this->attack(1, EntityDamageEvent::CAUSE_FIRE_TICK);
|
||||||
}
|
}
|
||||||
--$this->fireTicks;
|
--$this->fireTicks;
|
||||||
}
|
}
|
||||||
@ -444,7 +444,7 @@ abstract class Entity extends Position implements Metadatable{
|
|||||||
}
|
}
|
||||||
|
|
||||||
if($this->handleLavaMovement()){
|
if($this->handleLavaMovement()){
|
||||||
$this->attack(4, "lava");
|
$this->attack(4, EntityDamageEvent::CAUSE_LAVA);
|
||||||
$this->setOnFire(15);
|
$this->setOnFire(15);
|
||||||
$hasUpdate = true;
|
$hasUpdate = true;
|
||||||
$this->fallDistance *= 0.5;
|
$this->fallDistance *= 0.5;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user