Removed fish from Player eating

This commit is contained in:
Shoghi Cervantes 2013-08-30 16:58:34 +02:00
parent 08ed5dbfac
commit ee3ae561b8

View File

@ -1591,8 +1591,8 @@ class Player{
MELON_SLICE => 2,
GOLDEN_APPLE => 10,
//COOKIE => 2,
COOKED_FISH => 5,
RAW_FISH => 2,
//COOKED_FISH => 5,
//RAW_FISH => 2,
);
$slot = $this->getSlot($this->slot);
if($this->entity->getHealth() < 20 and isset($items[$slot->getID()])){