diff --git a/src/main/java/xyz/nkomarn/harbor/util/Messages.java b/src/main/java/xyz/nkomarn/harbor/util/Messages.java index 2efbc10..f712bd2 100644 --- a/src/main/java/xyz/nkomarn/harbor/util/Messages.java +++ b/src/main/java/xyz/nkomarn/harbor/util/Messages.java @@ -91,7 +91,7 @@ public class Messages implements Listener { return; } - sendWorldChatMessage(world, messages.get(random.nextInt(Math.max(0, messages.size())))); + sendWorldChatMessage(world, messages.get(random.nextInt(messages.size()))); } /**