mirror of
https://github.com/GeyserMC/Geyser.git
synced 2025-12-28 19:29:14 +00:00
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user