Skip to content

Commit 6e0983a

Browse files
committed
temporarily remove broken portal time fix
this code is supposed to enforce portal animations to contribute exactly 4.0s to igt, as a frame retime would unfortunately, it not only doesn't fulfill its intended purpose (which is sort of a blessing in disguise, because it would remove the additional delay from setting up boat eye, 3 * ticks in boat), but it applies after going through a portal, and now that people do preemptive in the portal (partially due to extra options :/) it causes a lot of verifier time to be spent fixing the timer reversion. the correct way this should be implemented is adjusting the client length of ticks in the portal to be equal to the server length of ticks in the portal, and that will be done at some point during the tick timing reform.
1 parent 9a2d684 commit 6e0983a

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/main/java/com/redlimerl/speedrunigt/mixins/ClientPlayerEntityMixin.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ private void onMove(MovementType movementType, Vec3d vec3d, CallbackInfo ci) {
191191
}
192192
}
193193

194-
194+
/*
195195
private Long latestPortalEnter = null;
196196
private int portalTick = 0;
197197
@Inject(at = @At("HEAD"), method = "tick")
@@ -212,6 +212,7 @@ public void updateNausea(CallbackInfo ci) {
212212
this.portalTick = 0;
213213
}
214214
}
215+
*/
215216

216217
@Override
217218
public void changeLookDirection(double cursorDeltaX, double cursorDeltaY) {

0 commit comments

Comments
 (0)