mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-21 08:17:34 +00:00
Removed fish from Player eating
This commit is contained in:
parent
08ed5dbfac
commit
ee3ae561b8
@ -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()])){
|
||||
|
Loading…
x
Reference in New Issue
Block a user