brady pls

This commit is contained in:
Leijurv 2018-08-26 08:50:30 -07:00
parent 9a24e6a1a3
commit 45631fa12a
No known key found for this signature in database
GPG Key ID: 44A3EA646EADAC6A

View File

@ -231,7 +231,7 @@ public final class CachedRegion implements IBlockTypeAccess {
if (tmpCached[x][z] != null) { if (tmpCached[x][z] != null) {
// 16 * 16 * 256 = 65536 so a short is enough // 16 * 16 * 256 = 65536 so a short is enough
// ^ haha jokes on leijurv, java doesn't have unsigned types so that isn't correct // ^ haha jokes on leijurv, java doesn't have unsigned types so that isn't correct
// also ur gay if u have more than 32767 special blocks in a chunk // also why would you have more than 32767 special blocks in a chunk
short numSpecialBlockTypes = in.readShort(); short numSpecialBlockTypes = in.readShort();
for (int i = 0; i < numSpecialBlockTypes; i++) { for (int i = 0; i < numSpecialBlockTypes; i++) {
String blockName = in.readUTF(); String blockName = in.readUTF();