Skip to content

Commit

Permalink
removed serverlib dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
NonSwag committed Jun 15, 2024
1 parent 34824de commit ab8e590
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
4 changes: 0 additions & 4 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,6 @@ dependencies {
// Fawe / WorldEdit
implementation(platform("com.intellectualsites.bom:bom-newest:1.27"))
compileOnlyApi("com.fastasyncworldedit:FastAsyncWorldEdit-Bukkit")
// Utils
implementation("dev.notmyfault.serverlib:ServerLib")
implementation("io.papermc:paperlib")
// Stats
implementation("org.bstats:bstats-bukkit:3.0.2")
// Internationalization
Expand Down Expand Up @@ -82,7 +79,6 @@ tasks.shadowJar {
dependencies {
relocate("org.incendo.serverlib", "${rootProject.group}.serverlib")
relocate("org.bstats", "${rootProject.group}.metrics")
relocate("io.papermc.lib", "${rootProject.group}.paperlib")
}
}

Expand Down
4 changes: 0 additions & 4 deletions src/main/java/net/thenextlvl/gopaint/GoPaintPlugin.java
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
import org.incendo.cloud.bukkit.CloudBukkitCapabilities;
import org.incendo.cloud.execution.ExecutionCoordinator;
import org.incendo.cloud.paper.LegacyPaperCommandManager;
import org.incendo.serverlib.ServerLib;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;

Expand Down Expand Up @@ -84,9 +83,6 @@ public void onLoad() {

@Override
public void onEnable() {
// Check if we are in a safe environment
ServerLib.checkUnsafeForks();

// disable if goPaint and BetterGoPaint are installed simultaneously
if (hasOriginalGoPaint()) {
getComponentLogger().error("BetterGoPaint is a replacement for goPaint. Please use one instead of both");
Expand Down

0 comments on commit ab8e590

Please sign in to comment.