mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-25 10:29:41 -05:00
Whitespace + general cleanup
This commit is contained in:
1 parent
e54d8c3352
commit
309846d732
87 files changed
+474
-421
No files matched your search
@@ -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