Skip to content
This repository has been archived by the owner on Nov 6, 2021. It is now read-only.

Example plugin demonstrating how to polyfill PocketMine-MP's recently removed PluginTask class.

Notifications You must be signed in to change notification settings

dktapps-pm-pl/PluginTaskPolyfill

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

PluginTaskPolyfill

A very simple example plugin, demonstrating how to polyfill PocketMine-MP's recently removed PluginTask class, for really lazy people.

This seems pointless to me, since you'll have to update code anyway. Also, the PluginTask class was never very useful to begin with because you couldn't typehint $owner or getOwner() without breaking it. However, here's the proof that it can be done, if you want to do it for some reason.

License

Public domain. I don't care what you do with this code, copy, modify, redistribute, mutilate, misuse, sell or whatever you please.

About

Example plugin demonstrating how to polyfill PocketMine-MP's recently removed PluginTask class.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages