Skip to content

Commit

Permalink
fix new dedicated server crash
Browse files Browse the repository at this point in the history
  • Loading branch information
qouteall committed Dec 4, 2023
1 parent 6c63a56 commit 3489ba1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 13 deletions.
12 changes: 3 additions & 9 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,6 @@ allprojects {
url = "https://maven.parchmentmc.org"
}

// for cardinal components that fusions gravity api uses
maven {
name = 'Ladysnake Mods'
url = 'https://ladysnake.jfrog.io/artifactory/mods'
}

// geckolib, for testing with portal gun
maven { url 'https://dl.cloudsmith.io/public/geckolib3/geckolib/maven/' }

Expand Down Expand Up @@ -150,12 +144,12 @@ allprojects {
// implementation 'io.github.douira:glsl-transformer:2.0.0-pre13' // for iris
// implementation 'org.antlr:antlr4-runtime:4.11.1' // for iris

modImplementation("com.github.qouteall:Gravity-Api:0.9.0-mc1.19.4") {
modCompileOnly("com.github.qouteall:Gravity-Api:0.9.0-mc1.19.4") {
transitive = false
exclude(group: "net.fabricmc.fabric-api")
}
modImplementation "dev.onyxstudios.cardinal-components-api:cardinal-components-base:5.0.1"
modImplementation "dev.onyxstudios.cardinal-components-api:cardinal-components-entity:5.0.1"
// modImplementation "dev.onyxstudios.cardinal-components-api:cardinal-components-base:5.0.1"
// modImplementation "dev.onyxstudios.cardinal-components-api:cardinal-components-entity:5.0.1"

implementation("com.github.llamalad7.mixinextras:mixinextras-fabric:${mixin_extras_version}")
annotationProcessor("com.github.llamalad7.mixinextras:mixinextras-fabric:${mixin_extras_version}")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,15 +56,11 @@ public class PortalAnimation {
public long updateCounter;

// for client player teleportation
@Environment(EnvType.CLIENT)
@Nullable
public PortalState clientLastFramePortalState;
@Environment(EnvType.CLIENT)
public long clientLastFramePortalStateCounter = -1;
@Environment(EnvType.CLIENT)
@Nullable
public PortalState clientCurrentFramePortalState;
@Environment(EnvType.CLIENT)
public long clientCurrentFramePortalStateCounter = -1;

public void readFromTag(CompoundTag tag) {
Expand Down

0 comments on commit 3489ba1

Please sign in to comment.