Skip to content
This repository has been archived by the owner on Oct 20, 2024. It is now read-only.

Commit

Permalink
Merge branch '1.20.1-fabric' into 1.20.4-fabric
Browse files Browse the repository at this point in the history
  • Loading branch information
melontini committed Apr 13, 2024
2 parents 404c4cd + 673ae75 commit f1c2004
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main/java/me/melontini/handytests/server/HandyServer.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ public class HandyServer implements DedicatedServerModInitializer {

@Override
public void onInitializeServer() {
if (System.getProperty("fabric-api.gametest") != null) {
LOGGER.info("Skipping handy server test, as gametest is enabled!");
return;
}
MutableInt ticks = new MutableInt(0);
ServerTickEvents.END_SERVER_TICK.register(server -> ticks.add(1));

Expand Down

0 comments on commit f1c2004

Please sign in to comment.