This commit is contained in:
Lee 2024-07-06 05:02:05 +01:00
parent 10ff006eb4
commit 3c7ba27953
2 changed files with 8 additions and 8 deletions

@ -6,7 +6,7 @@
<groupId>xyz.mcutils</groupId>
<artifactId>mcutils-java-library</artifactId>
<version>1.2.2</version>
<version>1.2.3</version>
<properties>
<maven.compiler.source>17</maven.compiler.source>

@ -44,7 +44,7 @@ public class MinecraftServer {
*/
private GeoLocation location;
@AllArgsConstructor @Getter
@Getter
private static class MOTD {
/**
@ -108,31 +108,31 @@ public class MinecraftServer {
/**
* The location of the server.
*/
@AllArgsConstructor @Getter
@Getter
public static class GeoLocation {
/**
* The country of the server.
*/
private final String country;
private String country;
/**
* The region of the server.
*/
private final String region;
private String region;
/**
* The city of the server.
*/
private final String city;
private String city;
/**
* The latitude of the server.
*/
private final double latitude;
private double latitude;
/**
* The longitude of the server.
*/
private final double longitude;
private double longitude;
}
}