It has long been a problem especially to the people who are new in PocketMine field between registerEvent() and registerEvents().
That one addition of s makes it a completely different function from the other. The reason for that is the confusing/conflicting names given to both these methods.
Following changes could be made to solve this confusion.
I know that I struggled with this when I first started updating and writing plugins. I agree that this change would read better and make each function more transparent about what it does.
Personally I was far more confused by onCommand() but that's a topic for a separate issue.
Now, this is gonna break plugins :D
It's only one change lol. Wait till 4.0 hit the bell lol
bUkKiT hAs aN OuTstAnDinG aPi deSiGn
Most helpful comment
Personally I was far more confused by onCommand() but that's a topic for a separate issue.