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

Commit

Permalink
True...
Browse files Browse the repository at this point in the history
  • Loading branch information
melontini committed Jun 1, 2024
1 parent 88418bd commit 3b67ea9
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@
public record ServerTestContext(IntSupplier ticks, MinecraftServer server) implements TestContext<MinecraftServer> {

public void sendCommand(String command) {
submitAndWait(server -> server.getCommandManager().executeWithPrefix(server.getCommandSource(), command));
submitAndWait(server -> {
server.getCommandManager().executeWithPrefix(server.getCommandSource(), command);
return null;
});
}

public void waitForOverworldTicks(long ticks) {
Expand Down

0 comments on commit 3b67ea9

Please sign in to comment.