Fixed size of the 251

This commit is contained in:
ProfMobius committed 2013-11-11 11:17:54 +01:00
1 parent 35e95ac335
commit 9a10a0ae40
1 file changed
+5
@@ -39,4 +39,9 @@ public class Packet251Extended extends Packet250CustomPayload {
par1DataOutput.write(this.data);
}
public int getPacketSize()
{
return 2 + this.channel.length() * 2 + 4 + this.length;
}
}