[FEAT] Paper Support

This commit is contained in:
2024-10-22 20:13:32 +02:00
parent 86149ace11
commit e0e37685e2
352 changed files with 5772 additions and 1588 deletions

View File

@@ -113,10 +113,10 @@ publisher {
setModrinthID(modrinth_id)
setNightbloomID("craterlib")
setVersionType("release")
setChangelog("https://raw.githubusercontent.com/hypherionmc/changelogs/main/craterlib/changelog-fabric.md")
setChangelog(rootProject.file("changelog.md"))
setProjectVersion("${minecraft_version}-${project.version}")
setDisplayName("[FABRIC/QUILT 1.21.2] CraterLib - ${project.version}")
setGameVersions("1.21.2")
setDisplayName("[FABRIC/QUILT 1.21.3] CraterLib - ${project.version}")
setGameVersions("1.21.3")
setLoaders("fabric", "quilt")
setArtifact(remapJar)
setCurseEnvironment("both")

View File

@@ -13,7 +13,7 @@ public class FabricCompatHelper implements CompatUtils {
if (!ModloaderEnvironment.INSTANCE.isModLoaded("melius-vanish"))
return true;
return Vanish.isPlayerVanished(player.toMojangServerPlayer());
return !Vanish.isPlayerVanished(player.toMojangServerPlayer());
}
@Override