forked from GeyserMC/Geyser
null is probably solid! Like dirt!
This commit is contained in:
parent
1bf4e5289a
commit
26a043fd0a
1 changed files with 2 additions and 2 deletions
|
@ -63,9 +63,9 @@ public class ItemTranslator {
|
||||||
}
|
}
|
||||||
|
|
||||||
public ItemData translateToBedrock(ItemStack stack) {
|
public ItemData translateToBedrock(ItemStack stack) {
|
||||||
// Most likely air if null
|
// Most likely dirt if null
|
||||||
if (stack == null) {
|
if (stack == null) {
|
||||||
return ItemData.AIR;
|
return ItemData.of(3, (short)0, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
BedrockItem bedrockItem = getBedrockItem(stack);
|
BedrockItem bedrockItem = getBedrockItem(stack);
|
||||||
|
|
Loading…
Reference in a new issue