SynapsePM icon indicating copy to clipboard operation
SynapsePM copied to clipboard

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

Open ghost opened this issue 8 years ago • 2 comments

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 avatar Oct 29 '17 15:10 ghost

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

ghost avatar May 22 '19 18:05 ghost

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

tarik02 avatar May 22 '19 18:05 tarik02