mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 03:59:43 +00:00
fixing item update
This commit is contained in:
parent
56d0ab5e76
commit
faca65010d
5 changed files with 5 additions and 8 deletions
|
|
@ -1946,7 +1946,7 @@ class Player{
|
|||
BREAD => 5,
|
||||
RAW_PORKCHOP => 3,
|
||||
COOKED_PORKCHOP => 8,
|
||||
RAW_BEEF => 3,
|
||||
BEEF => 3,
|
||||
STEAK => 8,
|
||||
COOKED_CHICKEN => 6,
|
||||
RAW_CHICKEN => 2,
|
||||
|
|
@ -1956,9 +1956,6 @@ class Player{
|
|||
CARROT => 4,
|
||||
POTATO => 1,
|
||||
BAKED_POTATO => 6,
|
||||
//COOKIE => 2,
|
||||
//COOKED_FISH => 5,
|
||||
//RAW_FISH => 2,
|
||||
);
|
||||
$slot = $this->getSlot($this->slot);
|
||||
if($this->entity->getHealth() < 20 and isset($items[$slot->getID()])){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue