mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 03:59:43 +00:00
fixed nbt(which somehow worked before), enderman ai updates
This commit is contained in:
parent
9b5a3959c4
commit
12c9e664f0
6 changed files with 41 additions and 20 deletions
|
|
@ -431,7 +431,7 @@ class Entity extends Position
|
|||
$this->fire = 0;
|
||||
$this->updateMetadata();
|
||||
}
|
||||
if ($this->air <= 0 && ! $waterDone) {
|
||||
if (($this->air <= 0 && ! $waterDone) || $this->type === MOB_ENDERMAN) { //TODO check is correct
|
||||
$this->harm(2, "water");
|
||||
$hasUpdate = true;
|
||||
$waterDone = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue