mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-22 04:29:43 +00:00
Update Entity.php
This commit is contained in:
parent
a12d748b0f
commit
df87e7a3a9
1 changed files with 1 additions and 1 deletions
|
|
@ -414,8 +414,8 @@ class Entity extends Position
|
||||||
|
|
||||||
if($this->level->getBlockWithoutVector($blockX, $blockY, $blockZ)->isSolid){
|
if($this->level->getBlockWithoutVector($blockX, $blockY, $blockZ)->isSolid){
|
||||||
$this->harm(1, "suffocation"); // Suffocation
|
$this->harm(1, "suffocation"); // Suffocation
|
||||||
break;
|
|
||||||
$hasUpdate = true;
|
$hasUpdate = true;
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue