1.20-pre2

This commit is contained in:
gnembon committed 2023-05-16 21:16:09 +02:00
1 parent 344b0a5b7c
commit 044c66388a
6 files changed
+12 -11

No files matched your search

@@ -55,7 +55,7 @@ public class CounterCommand
for (Component message: counter.format(source.getServer(), realtime, false))
{
source.sendSuccess(message, false);
source.sendSuccess(() -> message, false);
}
return 1;
}
@@ -88,7 +88,7 @@ public class CounterCommand
{
for (Component message: HopperCounter.formatAll(source.getServer(), realtime))
{
source.sendSuccess(message, false);
source.sendSuccess(() -> message, false);
}
return 1;
}
@@ -92,7 +92,7 @@ public class TickCommand
ServerPlayer player = source.getPlayer(); // may be null
TickRateManager trm = ((MinecraftServerInterface)source.getServer()).getTickRateManager();
Component message = trm.tickrate_advance(player, advance, tail_command, source);
source.sendSuccess(message, false);
source.sendSuccess(() -> message, false);
return 1;
}