mirror of https://github.com/LOOHP/Limbo.git
Reorganize sources to maven project standard
This commit is contained in:
parent
7bc2bf6d88
commit
c77c700fac
8
pom.xml
8
pom.xml
|
|
@ -6,13 +6,11 @@
|
|||
<artifactId>Limbo</artifactId>
|
||||
<version>0.3.7-ALPHA</version>
|
||||
<build>
|
||||
<sourceDirectory>src</sourceDirectory>
|
||||
<sourceDirectory>src/main/java</sourceDirectory>
|
||||
<resources>
|
||||
<resource>
|
||||
<directory>src</directory>
|
||||
<excludes>
|
||||
<exclude>**/*.java</exclude>
|
||||
</excludes>
|
||||
<directory>src/main/resources</directory>
|
||||
<filtering>true</filtering>
|
||||
</resource>
|
||||
</resources>
|
||||
<plugins>
|
||||
|
|
|
|||
|
|
@ -73,12 +73,9 @@ public class Limbo {
|
|||
for (String flag : args) {
|
||||
if (flag.equals("--nogui")) {
|
||||
noGui = true;
|
||||
} else if (flag.equals("nogui")) {
|
||||
noGui = true;
|
||||
} else {
|
||||
System.out.println("Accepted flags:");
|
||||
System.out.println(" --nogui ");
|
||||
System.out.println(" nogui ");
|
||||
System.out.println();
|
||||
System.out.println("Press [enter] to quit");
|
||||
System.exit(0);
|
||||
|
|
@ -451,7 +448,7 @@ public class Limbo {
|
|||
}
|
||||
|
||||
public String buildLegacyPingResponse(String version, BaseComponent[] motd, int maxPlayers, int playersOnline) {
|
||||
String begin = "§1";
|
||||
String begin = "§1";
|
||||
return String.join("\00", begin, "127", version, String.join("", Arrays.asList(motd).stream().map(each -> each.toLegacyText()).collect(Collectors.toList())), String.valueOf(playersOnline), String.valueOf(maxPlayers));
|
||||
}
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue