mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 03:59:43 +00:00
Changes.
This commit is contained in:
parent
d5a6be70ac
commit
1e29cbbbeb
20 changed files with 98 additions and 96 deletions
|
|
@ -201,6 +201,7 @@ class Entity extends Position{
|
|||
case MOB_PIGMAN:
|
||||
return array(
|
||||
array(COOKED_PORKCHOP, 0, mt_rand(0,2)),
|
||||
array(GOLD_INGOT, 0, mt_rand(0,2)),
|
||||
);
|
||||
case MOB_CREEPER:
|
||||
return array(
|
||||
|
|
@ -367,10 +368,7 @@ class Entity extends Position{
|
|||
break;
|
||||
case FIRE: //Fire block damage
|
||||
if($this->inBlock(new Vector3($x, $y, $z))){
|
||||
$this->harm(1, "fire");
|
||||
$this->fire = 300;
|
||||
$this->updateMetadata();
|
||||
$hasUpdate = true;
|
||||
//patched
|
||||
}
|
||||
break;
|
||||
case CACTUS: //Cactus damage
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue