SynapsePM
SynapsePM copied to clipboard
Server->getSynapse() isn't in pmmp so what I do now?
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?
Maybe $synapse = $this->getServer()->getPluginManager->getPlugin("SynapsePM");
Take a look here https://github.com/NukkitX/SynapsePM