Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ abstract class PaperPlugin(
open fun enable() {}
open fun disable() {}

override fun onLoad() {
final override fun onLoad() {
PluginContext.plugin = this

if (hasCommandApi()) {
Expand All @@ -53,7 +53,7 @@ abstract class PaperPlugin(
load()
}

override fun onEnable() {
final override fun onEnable() {
if (hasCommandApi()) {
verboseLog("Initializing CommandAPI step 2/2")

Expand Down Expand Up @@ -123,7 +123,7 @@ abstract class PaperPlugin(
enable()
}

override fun onDisable() {
final override fun onDisable() {
if (hasCommandApi()) CommandAPI.onDisable()
if (hasScoreboardLib()) PluginContext.scoreboardLib.close()

Expand Down