Closed robske110 closed 8 years ago
Why is it a bad practice to use Server::getInstance ?
Because it's an property (Go and ask @PEMapModder for more info) And ryou have to revert this commit:
https://github.com/Minifixio/pocketmine-1vs1-plugin/commit/2b98cf87a58c82cba2a97728b412ae9737ecdee4
Static property.
Why is it a bad practice to use Server::getInstance ?