Rebuild porting patches
This commit is contained in:
@@ -2,11 +2,20 @@
|
||||
+++ b/Paper/build.gradle
|
||||
@@ -1,5 +1,5 @@
|
||||
plugins {
|
||||
- id "io.papermc.paperweight.userdev" version "1.7.3"
|
||||
- id "io.papermc.paperweight.userdev" version "2.0.0-beta.17"
|
||||
+ id "io.papermc.paperweight.userdev" version "1.7.7"
|
||||
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"))
|
||||
|
@@ -0,0 +1,10 @@
|
||||
--- a/Paper/src/main/java/com/hypherionmc/craterlib/common/PaperCompatHelper.java
|
||||
+++ b/Paper/src/main/java/com/hypherionmc/craterlib/common/PaperCompatHelper.java
|
||||
@@ -4,7 +4,6 @@
|
||||
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;
|
@@ -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
|
Reference in New Issue
Block a user