Remove PS check here

This commit is contained in:
Jesse Boyd 2019-04-16 13:53:21 +10:00
parent e7869643d9
commit 2a373b1390
No known key found for this signature in database
GPG Key ID: 59F1DE6293AF6E1F

View File

@ -879,11 +879,7 @@ public class BukkitQueue_1_13 extends BukkitQueue_0<net.minecraft.server.v1_13_R
// BlockStates
int bitsPerEntry = MathMan.log2nlz(num_palette - 1);
if (Settings.IMP.PROTOCOL_SUPPORT_FIX || num_palette != 1) {
bitsPerEntry = Math.max(bitsPerEntry, 4); // Protocol support breaks <4 bits per entry
} else {
bitsPerEntry = Math.max(bitsPerEntry, 1); // For some reason minecraft needs 4096 bits to store 0 entries
}
bitsPerEntry = Math.max(bitsPerEntry, 4);
int blockBitArrayEnd = (bitsPerEntry * 4096) >> 6;
if (num_palette == 1) {