mirror of
https://github.com/Jozufozu/Flywheel.git
synced 2025-01-23 03:17:53 +01:00
1.21 Port IV
This commit is contained in:
parent
e374365ce4
commit
10d032c53e
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ abstract class MinecraftMixin {
|
|||
@Shadow
|
||||
public ClientLevel level;
|
||||
|
||||
@Inject(method = "setLevel(Lnet/minecraft/client/multiplayer/ClientLevel;)V", at = @At("HEAD"))
|
||||
@Inject(method = "setLevel(Lnet/minecraft/client/multiplayer/ClientLevel;Lnet/minecraft/client/gui/screens/ReceivingLevelScreen$Reason;)V", at = @At("HEAD"))
|
||||
private void flywheel$onSetLevel(CallbackInfo ci) {
|
||||
if (level != null) {
|
||||
LevelAttached.invalidateLevel(level);
|
||||
|
|
Loading…
Reference in a new issue