Fuck sakes

This commit is contained in:
2024-05-09 19:19:15 +02:00
parent 16163ac944
commit 261ea4c3f8
4 changed files with 11 additions and 15 deletions

View File

@@ -1,10 +1,11 @@
pipeline {
agent {
label "master"
}
tools {
jdk "JAVA17"
docker {
image "registry.firstdark.dev/java17:latest"
alwaysPull true
}
}
stages {
stage("Notify Discord") {
steps {

View File

@@ -3,10 +3,10 @@ def projectIcon = "https://cdn.modrinth.com/data/Nn8Wasaq/a172c634683a11a2e9ae59
pipeline {
agent {
label "master"
}
tools {
jdk "JAVA17"
docker {
image "registry.firstdark.dev/java17:latest"
alwaysPull true
}
}
stages {

View File

@@ -1,18 +1,13 @@
package com.hypherionmc.craterlib.common;
import com.hypherionmc.craterlib.core.platform.CompatUtils;
import com.hypherionmc.craterlib.core.platform.ModloaderEnvironment;
import com.hypherionmc.craterlib.nojang.world.entity.player.BridgedPlayer;
import redstonedubstep.mods.vanishmod.VanishUtil;
public class ForgeCompatHelper implements CompatUtils {
@Override
public boolean isPlayerActive(BridgedPlayer player) {
if (!ModloaderEnvironment.INSTANCE.isModLoaded("vmod"))
return true;
return VanishUtil.isVanished(player.toMojangServerPlayer());
return true;
}
@Override

View File

@@ -39,7 +39,7 @@ vanishmod_neo=puxrKAMr
# Publishing
curse_id=867099
modrinth_id=Nn8Wasaq
release_type=release
release_type=port
# Gradle
org.gradle.jvmargs=-Xmx3G