fix optifine being a bitch as it usually is. fixes #386

This commit is contained in:
gnembon committed 2020-07-22 01:22:30 -03:00
1 parent fd0969cec5
commit 7ebed9a5d0
1 file changed
+2 -1
@@ -17,7 +17,8 @@ public class WorldRenderer_pausedShakeMixin
float initial = 0.0f; float initial = 0.0f;
@ModifyVariable(method = "render", argsOnly = true, ordinal = 0 ,at = @At( // require 0 is for optifine being a bitch as it usually is.
@ModifyVariable(method = "render", argsOnly = true, require = 0, ordinal = 0, at = @At(
value = "INVOKE", value = "INVOKE",
target = "Lnet/minecraft/client/world/ClientWorld;getEntities()Ljava/lang/Iterable;" target = "Lnet/minecraft/client/world/ClientWorld;getEntities()Ljava/lang/Iterable;"
)) ))