Fix world load time not being set

This commit is contained in:
embeddedt 2023-03-05 13:32:59 -05:00
parent 2e3f43674f
commit 61c2b943cf
No known key found for this signature in database
GPG Key ID: A69433EC199B5613

View File

@ -33,10 +33,9 @@ public class MinecraftMixin {
float timeSpentReloading = ((float)(System.nanoTime() - datapackReloadStartTime) / 1000000000f);
ModernFix.LOGGER.warn("Datapack reload took " + timeSpentReloading + " seconds.");
}
@Inject(method = "doLoadLevel", at = @At("HEAD"), remap = false)
*/
@Inject(method = "m_231380_", at = @At("HEAD"), remap = false)
private void recordWorldLoadStart(CallbackInfo ci) {
ModernFixClient.worldLoadStartTime = System.nanoTime();
}
*/
}