mirror of
https://github.com/Jozufozu/Flywheel.git
synced 2025-01-23 03:17:53 +01:00
fix mixin
This commit is contained in:
parent
47e80a66a0
commit
349e7b3cb3
1 changed files with 2 additions and 2 deletions
|
@ -22,8 +22,8 @@ abstract class MinecraftMixin {
|
|||
}
|
||||
}
|
||||
|
||||
@Inject(method = "clearClientLevel(Lnet/minecraft/client/gui/screens/Screen;)V", at = @At("HEAD"))
|
||||
private void flywheel$onClearLevel(CallbackInfo ci) {
|
||||
@Inject(method = "disconnect(Lnet/minecraft/client/gui/screens/Screen;)V", at = @At("HEAD"))
|
||||
private void flywheel$onDisconnect(CallbackInfo ci) {
|
||||
if (level != null) {
|
||||
LevelAttached.invalidateLevel(level);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue