23w43a
This commit is contained in:
parent
9830d4d6f7
commit
472ed42f22
|
|
@ -11,7 +11,7 @@ import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;
|
|||
@Mixin(MinecraftServer.class)
|
||||
@ClientOnlyMixin
|
||||
public class ClientMinecraftServerMixin {
|
||||
@Inject(method = "runServer", at = @At(value = "INVOKE", target = "Lnet/minecraft/Util;getMillis()J", ordinal = 0))
|
||||
@Inject(method = "runServer", at = @At(value = "INVOKE", target = "Lnet/minecraft/Util;getNanos()J", ordinal = 0))
|
||||
private void markServerStarted(CallbackInfo ci) {
|
||||
ModernFixClient.INSTANCE.onServerStarted((MinecraftServer)(Object)this);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ public class MinecraftServerMixin {
|
|||
ModernFixFabric.theServer = new WeakReference<>((MinecraftServer)(Object)this);
|
||||
}
|
||||
|
||||
@Inject(method = "runServer", at = @At(value = "INVOKE", target = "Lnet/minecraft/Util;getMillis()J", ordinal = 0))
|
||||
@Inject(method = "runServer", at = @At(value = "INVOKE", target = "Lnet/minecraft/Util;getNanos()J", ordinal = 0))
|
||||
private void hookServerStarted(CallbackInfo ci) {
|
||||
ModernFix.INSTANCE.onServerStarted();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ junit_version=5.10.0-M1
|
|||
mixinextras_version=0.2.0-beta.9
|
||||
|
||||
mod_id=modernfix
|
||||
minecraft_version=23w42a
|
||||
minecraft_version=23w43a
|
||||
enabled_platforms=fabric
|
||||
forge_version=1.20.1-47.1.3
|
||||
# parchment_version=2023.07.09
|
||||
|
|
@ -15,10 +15,10 @@ rei_version=11.0.597
|
|||
ctm_version=1.20.1-1.1.8+4
|
||||
kubejs_version=1902.6.0-build.142
|
||||
rhino_version=1902.2.2-build.268
|
||||
supported_minecraft_versions=23w42a
|
||||
supported_minecraft_versions=23w43a
|
||||
|
||||
fabric_loader_version=0.14.22
|
||||
fabric_api_version=0.90.3+1.20.3
|
||||
fabric_api_version=0.90.5+1.20.3
|
||||
|
||||
continuity_version=3.0.0-beta.2+1.19.3
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user