Skip to content

Commit

Permalink
Merge pull request #19 from MikChanNoPlugins/dev/folder-structure
Browse files Browse the repository at this point in the history
Change folder structure
  • Loading branch information
wtlgo authored Jun 13, 2024
2 parents 9ac2706 + 0bb2815 commit 580ed24
Show file tree
Hide file tree
Showing 25 changed files with 3 additions and 7 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions src/main/kotlin/package.kt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
package dev.mikchan.mcnp.votereceiver
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,7 @@ import dev.mikchan.mcnp.votereceiver.core.log.ILogger
import dev.mikchan.mcnp.votereceiver.core.log.JvmLoggerProxy
import dev.mikchan.mcnp.votereceiver.core.utility.IUtility
import dev.mikchan.mcnp.votereceiver.spigot.factory.SpigotFactory
import io.ktor.server.application.*
import io.ktor.server.engine.*
import io.ktor.server.netty.*
import io.ktor.server.plugins.*
import io.ktor.server.response.*
import io.ktor.server.routing.*
import org.bstats.bukkit.Metrics
import org.bukkit.plugin.java.JavaPlugin
import java.util.concurrent.ExecutorService
Expand All @@ -26,7 +21,7 @@ import java.util.concurrent.Executors
@Suppress("unused")
class VoteReceiverSpigotPlugin : JavaPlugin(), IPlugin {
companion object {
private const val bStatsId = 17922
private const val B_STATS_ID = 17922
}

private val factory: IFactory by lazy { SpigotFactory(this) }
Expand All @@ -41,7 +36,7 @@ class VoteReceiverSpigotPlugin : JavaPlugin(), IPlugin {
override fun onEnable() {
webServer.start()

Metrics(this, bStatsId)
Metrics(this, B_STATS_ID)
}

override fun onDisable() {
Expand Down

0 comments on commit 580ed24

Please sign in to comment.