InvMenu icon indicating copy to clipboard operation
InvMenu copied to clipboard

Isolate pocketmine network calls

Open Muqsit opened this issue 6 months ago • 0 comments

NetherGamesMC maintains the most popular fork but goes through a strenuous process to keep up with library during network-heavy updates like v4.7.1. sendDataPacket() and other pocketmine\network calls are directly invoked in various parts of InvMenu, which is largely the sole cause of the issue.

Goal is to refactor the library and isolate these calls to a utility class, preferably one that plugins can override, e.g. InvMenuHandler::$network = new MyInvMenuNetwork();, and dually reduce the maintenance burden in forks.

Muqsit avatar Jul 10 '25 15:07 Muqsit