From 6e1b6e25871a3784231242c2739364a96172ecce Mon Sep 17 00:00:00 2001 From: kahverengi Date: Tue, 2 Apr 2024 23:36:26 +0300 Subject: [PATCH] chore: remove useless instance code --- .../com/panomc/plugins/announcement/AnnouncementPlugin.kt | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/main/kotlin/com/panomc/plugins/announcement/AnnouncementPlugin.kt b/src/main/kotlin/com/panomc/plugins/announcement/AnnouncementPlugin.kt index a547f87..665d233 100644 --- a/src/main/kotlin/com/panomc/plugins/announcement/AnnouncementPlugin.kt +++ b/src/main/kotlin/com/panomc/plugins/announcement/AnnouncementPlugin.kt @@ -3,14 +3,6 @@ package com.panomc.plugins.announcement import com.panomc.platform.api.PanoPlugin class AnnouncementPlugin : PanoPlugin() { - companion object { - internal lateinit var INSTANCE: AnnouncementPlugin - } - - override suspend fun onLoad() { - INSTANCE = this - } - override suspend fun onEnable() { logger.info("Started!") }