geforkt von SteamWar/BungeeCore
Parsing ist kaputt.
Dieser Commit ist enthalten in:
Ursprung
515c6f86f9
Commit
3a6f3fb4c0
@ -31,6 +31,7 @@ import net.md_5.bungee.api.connection.ProxiedPlayer;
|
|||||||
import net.md_5.bungee.api.event.PluginMessageEvent;
|
import net.md_5.bungee.api.event.PluginMessageEvent;
|
||||||
import net.md_5.bungee.event.EventHandler;
|
import net.md_5.bungee.event.EventHandler;
|
||||||
|
|
||||||
|
import java.nio.charset.StandardCharsets;
|
||||||
import java.sql.Timestamp;
|
import java.sql.Timestamp;
|
||||||
import java.time.Instant;
|
import java.time.Instant;
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
@ -51,7 +52,7 @@ public class Fabric extends BasicListener {
|
|||||||
|
|
||||||
List<Mod> mods = new LinkedList<>();
|
List<Mod> mods = new LinkedList<>();
|
||||||
|
|
||||||
String dataString = new String(e.getData()).substring(1);
|
String dataString = new String(e.getData(), StandardCharsets.UTF_8).substring(1);
|
||||||
|
|
||||||
System.out.println(dataString);
|
System.out.println(dataString);
|
||||||
|
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren