Skip to content

Commit

Permalink
Use StandardCharsets instead of Charsets
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim203 committed Aug 10, 2022
1 parent 678e285 commit 8b57a7c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand All @@ -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
Expand Down

0 comments on commit 8b57a7c

Please sign in to comment.