Minifixio / pocketmine-1vs1-plugin

1vs1 pocketmine plugin for Minecraft Pocket Edition
Apache License 2.0
18 stars 38 forks source link

Fix crash reported by @Tolo0 #34

Closed robske110 closed 8 years ago

Minifixio commented 8 years ago

Why is it a bad practice to use Server::getInstance ?

robske110 commented 8 years ago

Because it's an property (Go and ask @PEMapModder for more info) And ryou have to revert this commit:

robske110 commented 8 years ago

https://github.com/Minifixio/pocketmine-1vs1-plugin/commit/2b98cf87a58c82cba2a97728b412ae9737ecdee4

PEMapModder commented 8 years ago

Static property.