mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-16 12:43:52 -07:00
Whitespace + general cleanup
This commit is contained in:
@@ -115,13 +115,13 @@ public abstract class Packet {
|
||||
return packet;
|
||||
}
|
||||
|
||||
// CraftBukkit - throws IOException
|
||||
// CraftBukkit - throws IOException
|
||||
public static void a(Packet packet, DataOutputStream dataoutputstream) throws IOException {
|
||||
dataoutputstream.write(packet.b());
|
||||
packet.a(dataoutputstream);
|
||||
}
|
||||
|
||||
// CraftBukkit - throws IOException
|
||||
// CraftBukkit - throws IOException
|
||||
public static void a(String s, DataOutputStream dataoutputstream) throws IOException {
|
||||
if (s.length() > 32767) {
|
||||
throw new IOException("String too big");
|
||||
@@ -131,7 +131,7 @@ public abstract class Packet {
|
||||
}
|
||||
}
|
||||
|
||||
// CraftBukkit - throws IOException
|
||||
// CraftBukkit - throws IOException
|
||||
public static String a(DataInputStream datainputstream, int i) throws IOException {
|
||||
short short1 = datainputstream.readShort();
|
||||
|
||||
|
Reference in New Issue
Block a user