Fuck sakes
This commit is contained in:
@@ -1,10 +1,11 @@
|
|||||||
pipeline {
|
pipeline {
|
||||||
agent {
|
agent {
|
||||||
label "master"
|
docker {
|
||||||
}
|
image "registry.firstdark.dev/java17:latest"
|
||||||
tools {
|
alwaysPull true
|
||||||
jdk "JAVA17"
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
stages {
|
stages {
|
||||||
stage("Notify Discord") {
|
stage("Notify Discord") {
|
||||||
steps {
|
steps {
|
||||||
|
@@ -3,10 +3,10 @@ def projectIcon = "https://cdn.modrinth.com/data/Nn8Wasaq/a172c634683a11a2e9ae59
|
|||||||
|
|
||||||
pipeline {
|
pipeline {
|
||||||
agent {
|
agent {
|
||||||
label "master"
|
docker {
|
||||||
}
|
image "registry.firstdark.dev/java17:latest"
|
||||||
tools {
|
alwaysPull true
|
||||||
jdk "JAVA17"
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
stages {
|
stages {
|
||||||
|
@@ -1,18 +1,13 @@
|
|||||||
package com.hypherionmc.craterlib.common;
|
package com.hypherionmc.craterlib.common;
|
||||||
|
|
||||||
import com.hypherionmc.craterlib.core.platform.CompatUtils;
|
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.nojang.world.entity.player.BridgedPlayer;
|
||||||
import redstonedubstep.mods.vanishmod.VanishUtil;
|
|
||||||
|
|
||||||
public class ForgeCompatHelper implements CompatUtils {
|
public class ForgeCompatHelper implements CompatUtils {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean isPlayerActive(BridgedPlayer player) {
|
public boolean isPlayerActive(BridgedPlayer player) {
|
||||||
if (!ModloaderEnvironment.INSTANCE.isModLoaded("vmod"))
|
return true;
|
||||||
return true;
|
|
||||||
|
|
||||||
return VanishUtil.isVanished(player.toMojangServerPlayer());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@@ -39,7 +39,7 @@ vanishmod_neo=puxrKAMr
|
|||||||
# Publishing
|
# Publishing
|
||||||
curse_id=867099
|
curse_id=867099
|
||||||
modrinth_id=Nn8Wasaq
|
modrinth_id=Nn8Wasaq
|
||||||
release_type=release
|
release_type=port
|
||||||
|
|
||||||
# Gradle
|
# Gradle
|
||||||
org.gradle.jvmargs=-Xmx3G
|
org.gradle.jvmargs=-Xmx3G
|
||||||
|
Reference in New Issue
Block a user