PocketMine / PocketMine-MP

Legacy PocketMine-MP repository. Head to https://github.com/pmmp for up to date software.
https://www.pocketmine.net/
GNU Lesser General Public License v3.0
1.26k stars 660 forks source link

Create PlayerHungerEvent.php #4194

Closed sero583 closed 7 years ago

sero583 commented 8 years ago

I'm not sure, but isn't this missing anyways?

extremeheat commented 8 years ago

What's the point of creating this useless event?

sero583 commented 8 years ago

@extremeheat That event is called, if the hunger from the player changes, i don't think, it's useless at all.

extremeheat commented 8 years ago

Where is it called?

sero583 commented 8 years ago

@extremeheat I don't know what you trying to tell me, how do you mean 'Where is it called'?

extremeheat commented 8 years ago

You said that the "event is called when the hunger from the player changes". I'm asking where in the code this event is called.

sero583 commented 8 years ago

@extremeheat I don't know, anyways someone should correct this event a bit xD