From c7304f04e9bbefbe944c5c21c1c65017af30bfe9 Mon Sep 17 00:00:00 2001 From: Konicai <71294714+Konicai@users.noreply.github.com> Date: Mon, 26 Jun 2023 15:18:29 -0400 Subject: [PATCH] Make PlatformType fields final (#3917) --- .../org/geysermc/geyser/api/util/PlatformType.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/api/src/main/java/org/geysermc/geyser/api/util/PlatformType.java b/api/src/main/java/org/geysermc/geyser/api/util/PlatformType.java index 185e73168..2244d3a2a 100644 --- a/api/src/main/java/org/geysermc/geyser/api/util/PlatformType.java +++ b/api/src/main/java/org/geysermc/geyser/api/util/PlatformType.java @@ -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"); }