Skip to content

Commit 637b305

Browse files
feat(mindustry): Increased unit formation slot limit for supporters (xpdustry#405)
Suggested in #admin-chat.
1 parent 2955ff5 commit 637b305

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

imperium-mindustry/src/main/kotlin/com/xpdustry/imperium/mindustry/formation/FormationListener.kt

+1
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,7 @@ class FormationListener(instances: InstanceManager) : ImperiumApplication.Listen
161161
if (account != null) {
162162
slots =
163163
when {
164+
accounts.selectAchievement(account.id, Achievement.SUPPORTER) -> 18
164165
accounts.selectAchievement(account.id, Achievement.HYPER) -> 18
165166
accounts.selectAchievement(account.id, Achievement.ACTIVE) -> 12
166167
account.rank >= Rank.VERIFIED -> 8

0 commit comments

Comments
 (0)