This repository was archived by the owner on Dec 10, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +10
-10
lines changed
src/main/kotlin/dev/slne/surf/cloud/bukkit Expand file tree Collapse file tree 4 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ buildscript {
77 maven(" https://repo.slne.dev/repository/maven-public/" ) { name = " maven-public" }
88 }
99 dependencies {
10- classpath(" dev.slne.surf:surf-api-gradle-plugin:1.21.4 +" )
10+ classpath(" dev.slne.surf:surf-api-gradle-plugin:1.21.7 +" )
1111 }
1212}
1313
@@ -74,7 +74,7 @@ apiValidation {
7474
7575private fun TaskContainerScope.configureShadowJar () = withType<ShadowJar > {
7676 mergeServiceFiles {
77- setPath( " META-INF" )
77+ path = " META-INF"
7878 exclude(" META-INF/MANIFEST.MF" )
7979 }
8080
Original file line number Diff line number Diff line change @@ -7,8 +7,8 @@ plugins {
77}
88
99surfPaperPluginApi {
10- mainClass(" dev.slne.surf.cloud.bukkit.BukkitMain " )
11- bootstrapper(" dev.slne.surf.cloud.bukkit.BukkitBootstrap " )
10+ mainClass(" dev.slne.surf.cloud.bukkit.PaperMain " )
11+ bootstrapper(" dev.slne.surf.cloud.bukkit.PaperBootstrap " )
1212 authors.add(" twisti" )
1313 generateLibraryLoader(false )
1414
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ import org.bukkit.plugin.java.JavaPlugin
1111import kotlin.system.exitProcess
1212
1313@Suppress(" UnstableApiUsage" , " unused" )
14- class BukkitBootstrap : PluginBootstrap {
14+ class PaperBootstrap : PluginBootstrap {
1515
1616 override fun bootstrap (context : BootstrapContext ): Unit = runBlocking {
1717 try {
@@ -28,6 +28,6 @@ class BukkitBootstrap : PluginBootstrap {
2828 }
2929
3030 override fun createPlugin (context : PluginProviderContext ): JavaPlugin {
31- return BukkitMain ()
31+ return PaperMain ()
3232 }
3333}
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ import java.net.URI
2424import kotlin.contracts.ExperimentalContracts
2525import kotlin.contracts.contract
2626
27- class BukkitMain : SuspendingJavaPlugin () {
27+ class PaperMain : SuspendingJavaPlugin () {
2828 override suspend fun onLoadAsync () {
2929 try {
3030 coreCloudInstance.onLoad()
@@ -151,9 +151,9 @@ class BukkitMain : SuspendingJavaPlugin() {
151151
152152 companion object {
153153 @JvmStatic
154- val instance: BukkitMain
155- get() = getPlugin(BukkitMain ::class .java)
154+ val instance: PaperMain
155+ get() = getPlugin(PaperMain ::class .java)
156156 }
157157}
158158
159- val plugin get() = BukkitMain .instance
159+ val plugin get() = PaperMain .instance
You can’t perform that action at this time.
0 commit comments