Fix world load time not being set
This commit is contained in:
parent
2e3f43674f
commit
61c2b943cf
|
|
@ -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();
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user