Water: Remove duplicate call to Entity->resetFallDistance() (#3524)

It's not clear what the intended goal of this code was, but the duplicate call is obviously useless.
This commit is contained in:
Muqsit Rayyan 2020-05-24 18:00:19 +05:00 committed by GitHub
parent bf6af269c8
commit 4199c3796f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -70,8 +70,6 @@ class Water extends Liquid{
if($entity->isOnFire()){
$entity->extinguish();
}
$entity->resetFallDistance();
}
public function place(Item $item, Block $blockReplace, Block $blockClicked, int $face, Vector3 $clickVector, Player $player = null) : bool{