fixed profiler counting be time in e time
This commit is contained in:
1 parent
9cca6ddfb5
commit
1984c2cc77
2 files changed
+7
-3
No files matched your search
@@ -108,7 +108,11 @@ public abstract class ServerWorld_tickMixin extends World
|
||||
}
|
||||
}
|
||||
|
||||
@Inject(method = "tick", at = @At("TAIL"))
|
||||
@Inject(method = "tick", at = @At(
|
||||
value = "INVOKE",
|
||||
target = "Lnet/minecraft/server/world/ServerWorld;tickBlockEntities()V",
|
||||
shift = At.Shift.BEFORE
|
||||
))
|
||||
private void endEntitySection(BooleanSupplier booleanSupplier_1, CallbackInfo ci)
|
||||
{
|
||||
CarpetProfiler.end_current_section(currentSection);
|
||||
|
||||
Reference in new issue
Block a user