iTXTech / SynapsePM

Synapse client for PocketMine like server software. Supports multiple connections.
21 stars 17 forks source link

Server->getSynapse() isn't in pmmp so what I do now? #46

Open ghost opened 6 years ago

ghost commented 6 years ago

I fixed synapsePM and it's working, but what I'm missing is how I replace getSynapse() which was in Server.php? I tried foreaching getSynapses() in SynapsePM plugin and returning it, but I get then error Like this: Call to member function getClientData on null So can someone please add function for it?

ghost commented 5 years ago

Maybe $synapse = $this->getServer()->getPluginManager->getPlugin("SynapsePM");

tarik02 commented 5 years ago

Take a look here https://github.com/NukkitX/SynapsePM