3
0
Mirror von https://github.com/GeyserMC/Geyser.git synchronisiert 2024-10-01 23:50:11 +02:00

Make PlatformType fields final (#3917)

Dieser Commit ist enthalten in:
Konicai 2023-06-26 15:18:29 -04:00 committet von GitHub
Ursprung c7568ec889
Commit c7304f04e9
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 4AEE18F83AFDEB23

Datei anzeigen

@ -29,11 +29,11 @@ package org.geysermc.geyser.api.util;
* Represents the platform Geyser is running on.
*/
public record PlatformType(String platformName) {
public static PlatformType ANDROID = new PlatformType("Android");
public static PlatformType BUNGEECORD = new PlatformType("BungeeCord");
public static PlatformType FABRIC = new PlatformType("Fabric");
public static PlatformType SPIGOT = new PlatformType("Spigot");
public static PlatformType SPONGE = new PlatformType("Sponge");
public static PlatformType STANDALONE = new PlatformType("Standalone");
public static PlatformType VELOCITY = new PlatformType("Velocity");
public static final PlatformType ANDROID = new PlatformType("Android");
public static final PlatformType BUNGEECORD = new PlatformType("BungeeCord");
public static final PlatformType FABRIC = new PlatformType("Fabric");
public static final PlatformType SPIGOT = new PlatformType("Spigot");
public static final PlatformType SPONGE = new PlatformType("Sponge");
public static final PlatformType STANDALONE = new PlatformType("Standalone");
public static final PlatformType VELOCITY = new PlatformType("Velocity");
}