1.21.6 prep

This commit is contained in:
2025-06-17 19:16:28 +02:00
parent ff56045903
commit a4a51b7cd8
7 changed files with 11 additions and 10 deletions

View File

@@ -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 "xyz.jpenilla.run-paper" version "2.3.0"
}
@@ -56,7 +56,7 @@ processResources {
compileTestJava.enabled = false
tasks.assemble {
dependsOn(tasks.reobfJar)
dependsOn(tasks.shadowJar)
}
publisher {

View File

@@ -4,6 +4,7 @@ import com.hypherionmc.craterlib.core.platform.CompatUtils;
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

@@ -30,7 +30,7 @@ public class PaperLoaderHelper implements ModloaderEnvironment {
@Override
public String getGameVersion() {
return SharedConstants.getCurrentVersion().getName();
return SharedConstants.getCurrentVersion().name();
}
@Override