Fixed items not removed when put in the lava

This commit is contained in:
Matt 2017-10-22 17:11:13 +02:00 committed by Dylan K. Taylor
parent 3765511317
commit 270e0c076c

View File

@ -90,6 +90,7 @@ class Item extends Entity{
if(
$source->getCause() === EntityDamageEvent::CAUSE_VOID or
$source->getCause() === EntityDamageEvent::CAUSE_FIRE_TICK or
$source->getCause() === EntityDamageEvent::CAUSE_LAVA or
$source->getCause() === EntityDamageEvent::CAUSE_ENTITY_EXPLOSION or
$source->getCause() === EntityDamageEvent::CAUSE_BLOCK_EXPLOSION
){