mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-22 00:33:59 +00:00
Lava: remove useless code, closes #4678
This commit is contained in:
parent
5c994e4a24
commit
e0a6bc1d4a
@ -91,8 +91,6 @@ class Lava extends Liquid{
|
||||
}
|
||||
|
||||
public function onEntityInside(Entity $entity) : bool{
|
||||
$entity->fallDistance *= 0.5;
|
||||
|
||||
$ev = new EntityDamageByBlockEvent($this, $entity, EntityDamageEvent::CAUSE_LAVA, 4);
|
||||
$entity->attack($ev);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user