Update Entity.php

This commit is contained in:
GameHerobrine 2023-07-02 00:16:23 +03:00 • committed by GitHub
parent a12d748b0f
commit df87e7a3a9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -414,8 +414,8 @@ class Entity extends Position
if($this->level->getBlockWithoutVector($blockX, $blockY, $blockZ)->isSolid){
$this->harm(1, "suffocation"); // Suffocation
break;
$hasUpdate = true;
break;
}
}