diff --git a/src/org/emulinker/util/EmuUtil.java b/src/org/emulinker/util/EmuUtil.java index a8b2706..2a3aff7 100644 --- a/src/org/emulinker/util/EmuUtil.java +++ b/src/org/emulinker/util/EmuUtil.java @@ -254,28 +254,29 @@ public class EmuUtil public static String readString(ByteBuffer buffer, int stopByte, Charset charset) { - //ByteBuffer tempBuffer = ByteBuffer.allocate(buffer.remaining()); - char[] tempArray = new char[buffer.remaining()]; - byte b; - int i; -// while (buffer.hasRemaining()) - for(i=0; i