Mirror von
https://github.com/GeyserMC/Geyser.git
synchronisiert 2024-11-04 23:30:17 +01:00
null is probably solid! Like dirt!
Dieser Commit ist enthalten in:
Ursprung
1bf4e5289a
Commit
26a043fd0a
@ -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);
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren