mirror of
https://github.com/GeyserMC/Geyser.git
synced 2025-03-25 16:22:03 +01:00
Make PlatformType fields final (#3917)
This commit is contained in:
parent
c7568ec889
commit
c7304f04e9
1 changed files with 7 additions and 7 deletions
|
@ -29,11 +29,11 @@ package org.geysermc.geyser.api.util;
|
||||||
* Represents the platform Geyser is running on.
|
* Represents the platform Geyser is running on.
|
||||||
*/
|
*/
|
||||||
public record PlatformType(String platformName) {
|
public record PlatformType(String platformName) {
|
||||||
public static PlatformType ANDROID = new PlatformType("Android");
|
public static final PlatformType ANDROID = new PlatformType("Android");
|
||||||
public static PlatformType BUNGEECORD = new PlatformType("BungeeCord");
|
public static final PlatformType BUNGEECORD = new PlatformType("BungeeCord");
|
||||||
public static PlatformType FABRIC = new PlatformType("Fabric");
|
public static final PlatformType FABRIC = new PlatformType("Fabric");
|
||||||
public static PlatformType SPIGOT = new PlatformType("Spigot");
|
public static final PlatformType SPIGOT = new PlatformType("Spigot");
|
||||||
public static PlatformType SPONGE = new PlatformType("Sponge");
|
public static final PlatformType SPONGE = new PlatformType("Sponge");
|
||||||
public static PlatformType STANDALONE = new PlatformType("Standalone");
|
public static final PlatformType STANDALONE = new PlatformType("Standalone");
|
||||||
public static PlatformType VELOCITY = new PlatformType("Velocity");
|
public static final PlatformType VELOCITY = new PlatformType("Velocity");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue