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

Use StandardCharsets instead of Charsets

Dieser Commit ist enthalten in:
Tim203 2022-08-10 22:27:24 +02:00
Ursprung 678e285cd4
Commit 8b57a7c691
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 064EE9F5BF7C3EE8

Datei anzeigen

@ -25,7 +25,7 @@
package org.geysermc.floodgate.pluginmessage;
import com.google.common.base.Charsets;
import java.nio.charset.StandardCharsets;
public final class PluginMessageChannels {
public static final String SKIN = "floodgate:skin";
@ -35,7 +35,7 @@ public final class PluginMessageChannels {
private static final byte[] FLOODGATE_REGISTER_DATA =
String.join("\0", SKIN, FORM, TRANSFER, PACKET)
.getBytes(Charsets.UTF_8);
.getBytes(StandardCharsets.UTF_8);
/**
* Get the prebuilt register data as a byte array