mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 09:56:06 +00:00
Fixed falling blocks getting moved by currents, closes #2080
This commit is contained in:
@ -79,6 +79,10 @@ class FallingBlock extends Entity{
|
||||
return false;
|
||||
}
|
||||
|
||||
public function canBeMovedByCurrents() : bool{
|
||||
return false;
|
||||
}
|
||||
|
||||
public function attack(EntityDamageEvent $source){
|
||||
if($source->getCause() === EntityDamageEvent::CAUSE_VOID){
|
||||
parent::attack($source);
|
||||
|
Reference in New Issue
Block a user