diff options
author | Nate Mortensen <nate.richard.mortensen@gmail.com> | 2013-07-01 06:03:00 -0500 |
---|---|---|
committer | Wesley Wolfe <weswolf@aol.com> | 2013-07-01 12:10:06 -0500 |
commit | 6c09066e224ac85b8a6464eaf8f53edfeb4beda4 (patch) | |
tree | 573e05f4b148cb1891a1d3839175e501e6257442 /src/main/java/net/minecraft/server/Packet3Chat.java | |
parent | f887b76a259e12468b28d82d1eced93f0b73bd6d (diff) | |
download | craftbukkit-6c09066e224ac85b8a6464eaf8f53edfeb4beda4.tar craftbukkit-6c09066e224ac85b8a6464eaf8f53edfeb4beda4.tar.gz craftbukkit-6c09066e224ac85b8a6464eaf8f53edfeb4beda4.tar.lz craftbukkit-6c09066e224ac85b8a6464eaf8f53edfeb4beda4.tar.xz craftbukkit-6c09066e224ac85b8a6464eaf8f53edfeb4beda4.zip |
Update CraftBukkit to 1.6.1
Diffstat (limited to 'src/main/java/net/minecraft/server/Packet3Chat.java')
-rw-r--r-- | src/main/java/net/minecraft/server/Packet3Chat.java | 58 |
1 files changed, 0 insertions, 58 deletions
diff --git a/src/main/java/net/minecraft/server/Packet3Chat.java b/src/main/java/net/minecraft/server/Packet3Chat.java deleted file mode 100644 index e48348bc..00000000 --- a/src/main/java/net/minecraft/server/Packet3Chat.java +++ /dev/null @@ -1,58 +0,0 @@ -package net.minecraft.server; - -import java.io.DataInputStream; -import java.io.DataOutputStream; - -import java.io.IOException; // CraftBukkit - -public class Packet3Chat extends Packet { - - public static int a = 119; - public String message; - private boolean c; - - public Packet3Chat() { - this.c = true; - } - - public Packet3Chat(String s) { - this(s, true); - } - - public Packet3Chat(String s, boolean flag) { - this.c = true; - - /* CraftBukkit start - Handle this later - if (s.length() > b) { - s = s.substring(0, b); - } - // CraftBukkit end */ - - this.message = s; - this.c = flag; - } - - public void a(DataInputStream datainputstream) throws IOException { // CraftBukkit - this.message = a(datainputstream, a); - } - - public void a(DataOutputStream dataoutputstream) throws IOException { // CraftBukkit - a(this.message, dataoutputstream); - } - - public void handle(Connection connection) { - connection.a(this); - } - - public int a() { - return 2 + this.message.length() * 2; - } - - public boolean isServer() { - return this.c; - } - - public boolean a_() { - return !this.message.startsWith("/"); - } -} |