mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
Update Entity.php
Now fire work
This commit is contained in:
parent
a4f4aaee4a
commit
3ad75fc9b6
1 changed files with 4 additions and 1 deletions
|
|
@ -369,7 +369,10 @@ class Entity extends Position{
|
|||
break;
|
||||
case FIRE: //Fire block damage
|
||||
if($this->inBlock(new Vector3($x, $y, $z))){
|
||||
//patched
|
||||
$this->harm(1, "fire");
|
||||
$this->fire = 150;
|
||||
$this->updateMetadata();
|
||||
$hasUpdate = true;
|
||||
}
|
||||
break;
|
||||
case CACTUS: //Cactus damage
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue