Skip to content

Commit

Permalink
Update TE profiling hook
Browse files Browse the repository at this point in the history
  • Loading branch information
LunNova committed Mar 4, 2016
1 parent e8c8f78 commit 50578d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/resources/profilinghook.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
code="if (nallar.tickprofiler.minecraft.TickProfiler.shouldProfile(this)) { updateEntities_withProfiling(); return; }">
updateEntities
</insertCodeBefore>
<replaceMethodCall method="^method:TileEntity/updateEntity^"
code="nallar.tickprofiler.minecraft.profiling.EntityTickProfiler.INSTANCE.profileTileEntity($0);">
<replaceMethodCall method="^method:ITickable/update^"
code="nallar.tickprofiler.minecraft.profiling.EntityTickProfiler.INSTANCE.profileTickable($0);">
updateEntities_withProfiling
</replaceMethodCall>
<replaceMethodCall method="^method:World/updateEntity^"
Expand Down

0 comments on commit 50578d4

Please sign in to comment.