1.20-pre2
This commit is contained in:
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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user