From 7a9a3f8476083793d8c95287582fc8e91e86e9cb Mon Sep 17 00:00:00 2001 From: ME1312 Date: Wed, 19 Feb 2020 19:39:30 -0500 Subject: [PATCH] Updated SubAPI (markdown) --- SubAPI.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/SubAPI.md b/SubAPI.md index 31175df..310411c 100644 --- a/SubAPI.md +++ b/SubAPI.md @@ -113,10 +113,12 @@ import net.ME1312.Galaxi.Library.Event.Subscribe; @Plugin(name = "ExamplePlugin", version = "1.0.0a", authors = "ME1312") public class ExamplePlugin { + @Subscribe public void onEnable(GalaxiStartEvent event) { // Write enable code here } + @Subscribe public void onDisable(GalaxiStopEvent event) { // Write disable code here