reduce profiler overhead in the old code as indicated by Fallen_Breath
This commit is contained in:
1 parent
11818e3d57
commit
9e4e276687
2 files changed
+85
-83
No files matched your search
@@ -52,7 +52,7 @@ public abstract class World_tickMixin implements WorldInterface
|
||||
))
|
||||
private void startTileEntitySection(CallbackInfo ci, Profiler profiler_1, Iterator i, BlockEntity blockEntity_2)
|
||||
{
|
||||
entitySection = CarpetProfiler.start_entity_section((World)(Object)this, blockEntity_2, CarpetProfiler.TYPE.TILEENTITY);
|
||||
entitySection = CarpetProfiler.start_block_entity_section((World)(Object)this, blockEntity_2, CarpetProfiler.TYPE.TILEENTITY);
|
||||
}
|
||||
|
||||
@Redirect(method = "tickBlockEntities", at = @At(
|
||||
|
||||
Reference in new issue
Block a user