File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ dependencies.constraints {
7979 api(" dev.folia:folia-api:$bukkitVersion " )
8080}
8181dependencies {
82- val libraryVersion = " 2.1.6 "
82+ val libraryVersion = " 2.1.8.2 "
8383 api(" cf.wayzer:ScriptAgent:${libraryVersion} " )
8484 implementation(" cf.wayzer:LibraryManager:1.6" )
8585
Original file line number Diff line number Diff line change @@ -8,8 +8,6 @@ import mindustry.game.Team
88import mindustry.world.blocks.storage.CoreBlock
99import mindustry.world.blocks.storage.CoreBlock.CoreBuild
1010
11- name = " 更好的队伍"
12-
1311val allTeam: Set <Team >
1412 get() {
1513 if (! state.rules.pvp) return setOf (state.rules.defaultTeam)
@@ -22,7 +20,7 @@ val allTeam: Set<Team>
2220
2321var bannedTeam = emptySet<Team >()
2422val connectingPlayers = mutableListOf<Player >()
25- fun getConnectingPlayers (): List <Player > {
23+ fun checkConnectingPlayers (): List <Player > {
2624 connectingPlayers.removeAll { it.con == null || it.con.isConnected || it.con.hasConnected }
2725 return connectingPlayers
2826}
@@ -35,7 +33,7 @@ onEnable {
3533 if (! p.con.isConnected) {
3634 connectingPlayers.add(p)
3735 }
38- getConnectingPlayers () + g
36+ checkConnectingPlayers () + g
3937 } else g
4038 randomTeam(p, g2)
4139 }
You can’t perform that action at this time.
0 commit comments