More bandaid

This commit is contained in:
KennyTV 2021-06-16 13:58:49 +02:00
parent e71c34255b
commit 91874ffc3b
No known key found for this signature in database
GPG Key ID: 6BE3B555EBC5982B

View File

@ -174,6 +174,8 @@ public abstract class LegacyBlockItemRewriter<T extends BackwardsProtocol> exten
tags.put(pos, tag);
// Handle given Block Entities
if (pos.getY() < 0) continue; // 1.17
ChunkSection section = chunk.getSections()[pos.getY() >> 4];
if (section == null) continue;