aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main/java/world/anhgelus/molehunt/Game.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/world/anhgelus/molehunt/Game.java b/src/main/java/world/anhgelus/molehunt/Game.java
index 959b01b..6101525 100644
--- a/src/main/java/world/anhgelus/molehunt/Game.java
+++ b/src/main/java/world/anhgelus/molehunt/Game.java
@@ -18,7 +18,7 @@ import java.util.stream.Collectors;
public class Game {
private Timer timer = new Timer();
- public final int defaultTime = Molehunt.CONFIG.getGameDuration();
+ public final int defaultTime = Molehunt.CONFIG.getGameDuration()*60;
private int remaining = defaultTime;
private final MinecraftServer server;
@@ -153,7 +153,7 @@ public class Game {
return moles.stream()
.map(ServerPlayerEntity::getDisplayName)
.filter(Objects::nonNull)
- .map(Text::toString)
+ .map(Text::getString)
.collect(Collectors.joining(", "));
}