This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class DIJavaPlugin extends JavaPlugin { | |
| public void onEnable() { | |
| getServer().getPluginManager().registerEvents(new Child(this), this); | |
| } | |
| } class Child implements Listener { | |
| private final JavaPlugin parentPlugin; | |
| public Child(JavaPlugin pl) { | |
| parentPlugin = pl; |
NewerOlder