diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-09-06 20:17:47 +0200 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-09-06 20:17:47 +0200 |
commit | c3f82c53db08cc8919b54d53b38a8673f64e5dd8 (patch) | |
tree | 7c1f9283d0aeb8c036d96b299c47df06c4220d4d /source/Protocol125.cpp | |
parent | Added protocol-specific authentication, now works for both 1.2.5 and 1.3.2 (diff) | |
download | cuberite-c3f82c53db08cc8919b54d53b38a8673f64e5dd8.tar cuberite-c3f82c53db08cc8919b54d53b38a8673f64e5dd8.tar.gz cuberite-c3f82c53db08cc8919b54d53b38a8673f64e5dd8.tar.bz2 cuberite-c3f82c53db08cc8919b54d53b38a8673f64e5dd8.tar.lz cuberite-c3f82c53db08cc8919b54d53b38a8673f64e5dd8.tar.xz cuberite-c3f82c53db08cc8919b54d53b38a8673f64e5dd8.tar.zst cuberite-c3f82c53db08cc8919b54d53b38a8673f64e5dd8.zip |
Diffstat (limited to 'source/Protocol125.cpp')
-rw-r--r-- | source/Protocol125.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/Protocol125.cpp b/source/Protocol125.cpp index 1927013da..da7e880ad 100644 --- a/source/Protocol125.cpp +++ b/source/Protocol125.cpp @@ -1310,7 +1310,7 @@ int cProtocol125::ParseItem(cItem & a_Item) HANDLE_PACKET_READ(ReadBEShort, short, EnchantNumBytes);
- if (EnchantNumBytes == 0)
+ if (EnchantNumBytes <= 0)
{
return PARSE_OK;
}
|