inxomnyaa / gameapi

API for easily creating PocketMine games
https://poggit.pmmp.io/ci/thebigsmileXD/gameapi/~
GNU General Public License v3.0
25 stars 7 forks source link

ArenaJoinEvent #13

Closed ghost closed 4 years ago

ghost commented 4 years ago

Event when player joins the arena. Possible noobish ways I found out to do this:

inxomnyaa commented 4 years ago

It is not needed https://github.com/thebigsmileXD/gameapi/blob/master/src/xenialdan/gameapi/Arena.php#L232 https://github.com/thebigsmileXD/gameapi/blob/master/src/xenialdan/gameapi/Arena.php#L169-L170

inxomnyaa commented 4 years ago

but maybe it will make things simpler for other plugins. But even if you need it, you could just create the event and call it in the function?

ghost commented 4 years ago

Seems fair..

inxomnyaa commented 4 years ago

I might include this in the next rewrite (if ever)