Fix incorrectly mapped mixin

This commit is contained in:
embeddedt 2023-03-04 17:10:56 -05:00
parent 4a15e277aa
commit ac261a0bfd
No known key found for this signature in database
GPG Key ID: A69433EC199B5613

View File

@ -15,7 +15,7 @@ import java.util.function.Function;
@Mixin(Minecraft.class)
public class MinecraftMixin {
@Inject(method = "doWorldLoad", at = @At("HEAD"), remap = false)
@Inject(method = "m_231380_", at = @At("HEAD"), remap = false)
private void setLatch(String string, LevelStorageSource.LevelStorageAccess arg, PackRepository arg2, WorldStem arg3, CallbackInfo ci) {
ModernFix.worldLoadSemaphore = new CountDownLatch(1);
}