Merge pull request #31 from GeyserMC/chunks

Chunks
This commit is contained in:
EOT3000 2019-09-13 22:55:31 -04:00 committed by GitHub
commit 3f7dc3170e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -63,9 +63,9 @@ public class ItemTranslator {
}
public ItemData translateToBedrock(ItemStack stack) {
// Most likely air if null
// Most likely dirt if null
if (stack == null) {
return ItemData.AIR;
return ItemData.of(3, (short)0, 0);
}
BedrockItem bedrockItem = getBedrockItem(stack);