update gradle, fixed overflow in wave display

This commit is contained in:
Sharlotte
2022-08-18 16:27:17 +09:00
parent 7b8479c16e
commit 1d33c26e93
5 changed files with 47 additions and 48 deletions

View File

@@ -155,7 +155,7 @@ public class WaveWindow extends Window implements Updatable {
ObjectIntMap<SpawnGroup> groups = getWaveGroup(index-1);
int row = 0;
int max = Math.max(1, Math.round(window.getWidth()/2/8));
int max = Math.max(1, Math.round(window.getWidth()/64)-5);
for (SpawnGroup group : groups.keys()) {
int spawners = state.rules.waveTeam.cores().size + (group.type.flying ? spawner.countFlyerSpawns() : spawner.countGroundSpawns());
int amount = groups.get(group);