Skip to content

Commit

Permalink
Fix gametests running when the tick manager is not ticking normally. (n…
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredlll08 authored Jan 14, 2024
1 parent 9f854d4 commit a6f7273
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion patches/net/minecraft/server/MinecraftServer.java.patch
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@
this.profiler.popPush("players");
this.playerList.tick();
- if (SharedConstants.IS_RUNNING_IN_IDE && this.tickRateManager.runsNormally()) {
+ if (net.neoforged.neoforge.gametest.GameTestHooks.isGametestEnabled()) {
+ if (net.neoforged.neoforge.gametest.GameTestHooks.isGametestEnabled() && this.tickRateManager.runsNormally()) {
GameTestTicker.SINGLETON.tick();
}

Expand Down

0 comments on commit a6f7273

Please sign in to comment.