Skip to content

Commit

Permalink
onSetWorld at head in case of cancel
Browse files Browse the repository at this point in the history
  • Loading branch information
sisby-folk committed Jul 26, 2024
1 parent 924e7a3 commit c47a01f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

@Mixin(WorldRenderer.class)
public class WorldRendererMixin {
@Inject(method = "setWorld", at = @At("RETURN"))
@Inject(method = "setWorld", at = @At("HEAD"))
public void onSetWorld(ClientWorld clientWorld, CallbackInfo ci) {
BakedBlockEntityRenderer.Manager.setWorld(clientWorld);
}
Expand Down

0 comments on commit c47a01f

Please sign in to comment.