1
0
mirror of https://github.com/nkomarn/harbor.git synced 2025-02-01 20:31:28 +01:00

Remove unnecessary Math#max call

This commit is contained in:
Mykyta Komarn 2020-09-28 20:24:53 -07:00
parent 93b3a0424e
commit c5d76a70a2

View File

@ -91,7 +91,7 @@ public class Messages implements Listener {
return; return;
} }
sendWorldChatMessage(world, messages.get(random.nextInt(Math.max(0, messages.size())))); sendWorldChatMessage(world, messages.get(random.nextInt(messages.size())));
} }
/** /**