Rebuild porting patches

This commit is contained in:
2025-06-17 19:18:23 +02:00
parent 7abf86dced
commit 34dc478e2e
99 changed files with 725 additions and 233 deletions

View File

@@ -1,5 +1,21 @@
--- a/Paper/build.gradle
+++ b/Paper/build.gradle
@@ -1,5 +1,5 @@
plugins {
- id "io.papermc.paperweight.userdev" version "2.0.0-beta.17"
+ id "io.papermc.paperweight.userdev" version "1.7.3"
id "xyz.jpenilla.run-paper" version "2.3.0"
}
@@ -56,7 +56,7 @@
compileTestJava.enabled = false
tasks.assemble {
- dependsOn(tasks.shadowJar)
+ dependsOn(tasks.reobfJar)
}
publisher {
@@ -68,8 +68,8 @@
setVersionType("alpha")
setChangelog(rootProject.file("changelog.md"))

View File

@@ -1,10 +0,0 @@
--- a/Paper/src/main/java/com/hypherionmc/craterlib/common/PaperCompatHelper.java
+++ b/Paper/src/main/java/com/hypherionmc/craterlib/common/PaperCompatHelper.java
@@ -4,6 +4,7 @@
import com.hypherionmc.craterlib.core.platform.ModloaderEnvironment;
import com.hypherionmc.craterlib.nojang.world.entity.player.BridgedPlayer;
import com.hypherionmc.craterlib.utils.ChatUtils;
+import net.kyori.adventure.text.Component;
import org.bukkit.Bukkit;
import org.bukkit.entity.Player;
import org.bukkit.metadata.MetadataValue;

View File

@@ -0,0 +1,11 @@
--- a/Paper/src/main/java/com/hypherionmc/craterlib/common/PaperLoaderHelper.java
+++ b/Paper/src/main/java/com/hypherionmc/craterlib/common/PaperLoaderHelper.java
@@ -30,7 +30,7 @@
@Override
public String getGameVersion() {
- return SharedConstants.getCurrentVersion().name();
+ return SharedConstants.getCurrentVersion().getName();
}
@Override