userdev does not seem to want to work

This commit is contained in:
Ryder Belserion 2023-07-20 20:31:15 -04:00
parent 32f0f642ab
commit e110230d24
No known key found for this signature in database
GPG Key ID: 6F86975AD74B46E5
3 changed files with 10 additions and 3 deletions

View File

@ -44,7 +44,7 @@ allprojects {
//} //}
dependencies { dependencies {
compileOnly("net.kyori", "adventure-platform-bukkit", "4.3.0") //compileOnly("net.kyori", "adventure-platform-bukkit", "4.3.0")
compileOnly("ch.jalu", "configme", "1.3.1") compileOnly("ch.jalu", "configme", "1.3.1")

View File

@ -6,8 +6,14 @@ plugins {
id("io.papermc.paperweight.userdev") id("io.papermc.paperweight.userdev")
} }
repositories {
maven("https://repo.papermc.io/repository/maven-public/")
}
dependencies { dependencies {
paperweight.paperDevBundle("1.20-R0.1-SNAPSHOT") compileOnly("io.papermc.paper:paper-api:1.20.1-R0.1-SNAPSHOT")
paperweight.paperDevBundle("1.20.1-R0.1-SNAPSHOT")
} }
tasks { tasks {

View File

@ -1,9 +1,10 @@
package com.badbones69.crazyauctions.api.interfaces; package com.badbones69.crazyauctions.api.interfaces;
import com.badbones69.crazyauctions.CrazyAuctions; import com.badbones69.crazyauctions.CrazyAuctions;
import org.bukkit.plugin.java.JavaPlugin;
public interface Universal { public interface Universal {
CrazyAuctions plugin = CrazyAuctions.getPlugin(); CrazyAuctions plugin = JavaPlugin.getPlugin(CrazyAuctions.class);
} }