removed Java

This commit is contained in:
GameHerobrine 2023-12-10 00:13:10 +03:00
parent c4b03ce13c
commit bfe23f5547
2 changed files with 1 additions and 49 deletions

View file

@ -429,7 +429,7 @@ class Entity extends Position
$blockY = floor($this->y + $this->getEyeHeight() + $y);
$blockZ = floor($this->z + $z);
if($this->level->getBlockWithoutVector($blockX, $blockY, $blockZ)->isSolid){
if(StaticBlock::getIsSolid($this->level->level->getBlockID($blockX, $blockY, $blockZ))){
$this->harm(1, "suffocation"); // Suffocation
$hasUpdate = true;
break;