Skip to content

Commit 12fae05

Browse files
committed
update
1 parent 72bd3c9 commit 12fae05

File tree

2 files changed

+47
-47
lines changed

2 files changed

+47
-47
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484
<dependency>
8585
<groupId>me.HSGamer</groupId>
8686
<artifactId>BetterGUI</artifactId>
87-
<version>4.0</version>
87+
<version>5.0</version>
8888
<scope>provided</scope>
8989
</dependency>
9090
</dependencies>
Lines changed: 46 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -1,49 +1,49 @@
11
package me.hsgamer.bettergui.exampleaddon;
22

3-
import me.hsgamer.bettergui.object.addon.Addon;
4-
5-
public final class ExampleAddon extends Addon {
6-
7-
/**
8-
* Called when loading the addon
9-
*
10-
* @return whether the addon is loaded properly
11-
*/
12-
@Override
13-
public boolean onLoad() {
14-
return true;
15-
}
16-
17-
/**
18-
* Called when enabling the addon
19-
*/
20-
@Override
21-
public void onEnable() {
22-
// Enable logic
23-
}
24-
25-
/**
26-
* Called after all addons were loaded
27-
*/
28-
@Override
29-
public void onPostEnable() {
30-
// Post Enable logic
31-
}
32-
33-
/**
34-
* Called when disabling the addon
35-
*/
36-
@Override
37-
public void onDisable() {
38-
// Disable logic
39-
}
40-
41-
42-
/**
43-
* Called when reloading
44-
*/
45-
@Override
46-
public void onReload() {
47-
// Reload logic
48-
}
3+
import me.hsgamer.bettergui.api.addon.BetterGUIAddon;
4+
5+
public final class ExampleAddon extends BetterGUIAddon {
6+
7+
/**
8+
* Called when loading the addon
9+
*
10+
* @return whether the addon is loaded properly
11+
*/
12+
@Override
13+
public boolean onLoad() {
14+
return true;
15+
}
16+
17+
/**
18+
* Called when enabling the addon
19+
*/
20+
@Override
21+
public void onEnable() {
22+
// Enable logic
23+
}
24+
25+
/**
26+
* Called after all addons were loaded
27+
*/
28+
@Override
29+
public void onPostEnable() {
30+
// Post Enable logic
31+
}
32+
33+
/**
34+
* Called when disabling the addon
35+
*/
36+
@Override
37+
public void onDisable() {
38+
// Disable logic
39+
}
40+
41+
42+
/**
43+
* Called when reloading
44+
*/
45+
@Override
46+
public void onReload() {
47+
// Reload logic
48+
}
4949
}

0 commit comments

Comments
 (0)