gui not working, but im tried

This commit is contained in:
MeexReay 2024-04-23 20:37:36 +03:00
parent f38629a294
commit 8d47394acc
18 changed files with 428 additions and 59 deletions

View file

@ -18,6 +18,8 @@ import java.util.UUID;
public abstract class PlayerMixin {
@Inject(at = @At(value = "HEAD"), method = "disconnect")
private void disconnect(Text disconnectReason, CallbackInfo ci) {
System.out.println("on client close");
if (Main.me.is_replaying) {
Main.me.stopReplay();
}
}
}