Fix rare case where extended block bulk update packet would be sent to person with extended blocks

This commit is contained in:
UnknownShadow200 2018-04-02 19:16:45 +10:00
parent 6de0dd0d2a
commit fc04e50f8e

View File

@ -95,8 +95,8 @@ namespace MCGalaxy.Network {
#if TEN_BIT_BLOCKS
if (p.hasExtBlocks) {
if (p.hasBulkBlockUpdate && count >= 150) {
if (bulk == null) bulk = MakeBulkExt();
return bulk;
if (extBulk == null) extBulk = MakeBulkExt();
return extBulk;
} else {
if (ext == null) ext = MakeExt();
return ext;