mirror of
https://github.com/GeyserMC/GeyserConnect.git
synced 2025-06-26 14:15:22 +02:00
Add back missing semicolon
This commit is contained in:
parent
3bfe81b4fe
commit
90870e9238
1 changed files with 4 additions and 3 deletions
|
@ -48,6 +48,7 @@ import org.geysermc.geyser.api.util.PlatformType;
|
||||||
import org.geysermc.geyser.session.GeyserSession;
|
import org.geysermc.geyser.session.GeyserSession;
|
||||||
|
|
||||||
import java.util.Arrays;
|
import java.util.Arrays;
|
||||||
|
import java.util.List;
|
||||||
import java.util.stream.Collectors;
|
import java.util.stream.Collectors;
|
||||||
|
|
||||||
public class GeyserConnect implements Extension {
|
public class GeyserConnect implements Extension {
|
||||||
|
@ -159,7 +160,7 @@ public class GeyserConnect implements Extension {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
GeyserSession[] sessions = getGeyserSessions();
|
List<GeyserSession> sessions = getGeyserSessions();
|
||||||
|
|
||||||
switch (type) {
|
switch (type) {
|
||||||
case "chat":
|
case "chat":
|
||||||
|
@ -231,7 +232,7 @@ public class GeyserConnect implements Extension {
|
||||||
.build());
|
.build());
|
||||||
}
|
}
|
||||||
|
|
||||||
private GeyserSession[] getGeyserSessions() {
|
private List<GeyserSession> getGeyserSessions() {
|
||||||
return this.geyserApi().onlineConnections().stream().map(connection -> (GeyserSession) connection).toList()
|
return this.geyserApi().onlineConnections().stream().map(connection -> (GeyserSession) connection).toList();
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Add table
Reference in a new issue