1.21.6 prep
This commit is contained in:
@@ -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 {
|
||||
|
@@ -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;
|
||||
|
@@ -30,7 +30,7 @@ public class PaperLoaderHelper implements ModloaderEnvironment {
|
||||
|
||||
@Override
|
||||
public String getGameVersion() {
|
||||
return SharedConstants.getCurrentVersion().getName();
|
||||
return SharedConstants.getCurrentVersion().name();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Reference in New Issue
Block a user