diff options
author | Dinnerbone (Laptop) <dinnerbone@dinnerbone.com> | 2012-03-30 23:33:51 +0200 |
---|---|---|
committer | Dinnerbone (Laptop) <dinnerbone@dinnerbone.com> | 2012-03-30 23:33:51 +0200 |
commit | 1fa4d8430e4174d0f8eb5d50667d0247f7877679 (patch) | |
tree | a806cee32737d36dbb27576c564d3099f336fbe7 /src/main/java/net/minecraft/server/Packet3Chat.java | |
parent | e0c01154b030c527815e884b6b331c5534ab247f (diff) | |
download | craftbukkit-1fa4d8430e4174d0f8eb5d50667d0247f7877679.tar craftbukkit-1fa4d8430e4174d0f8eb5d50667d0247f7877679.tar.gz craftbukkit-1fa4d8430e4174d0f8eb5d50667d0247f7877679.tar.lz craftbukkit-1fa4d8430e4174d0f8eb5d50667d0247f7877679.tar.xz craftbukkit-1fa4d8430e4174d0f8eb5d50667d0247f7877679.zip |
Updated version to 1.2.5-R0.1-SNAPSHOT
Diffstat (limited to 'src/main/java/net/minecraft/server/Packet3Chat.java')
-rw-r--r-- | src/main/java/net/minecraft/server/Packet3Chat.java | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/main/java/net/minecraft/server/Packet3Chat.java b/src/main/java/net/minecraft/server/Packet3Chat.java index 06569241..1627c85e 100644 --- a/src/main/java/net/minecraft/server/Packet3Chat.java +++ b/src/main/java/net/minecraft/server/Packet3Chat.java @@ -7,14 +7,15 @@ import java.io.IOException; // CraftBukkit public class Packet3Chat extends Packet { + public static int b = 119; public String message; public Packet3Chat() {} public Packet3Chat(String s) { /* CraftBukkit start - handle this later - if (s.length() > 119) { - s = s.substring(0, 119); + if (s.length() > b) { + s = s.substring(0, b); } // CraftBukkit end */ @@ -22,7 +23,7 @@ public class Packet3Chat extends Packet { } public void a(DataInputStream datainputstream) throws IOException { // CraftBukkit - this.message = a(datainputstream, 119); + this.message = a(datainputstream, b); } public void a(DataOutputStream dataoutputstream) throws IOException { // CraftBukkit |