Mirror von
https://github.com/GeyserMC/Geyser.git
synchronisiert 2024-12-27 08:30:12 +01:00
Return null if no definition found
Dieser Commit ist enthalten in:
Ursprung
e295f910c4
Commit
7f38496d61
@ -80,7 +80,7 @@ public class BlockMappings implements DefinitionRegistry<GeyserBedrockBlock> {
|
||||
@Override
|
||||
public GeyserBedrockBlock getDefinition(int bedrockId) {
|
||||
if (bedrockId < 0 || bedrockId >= this.bedrockRuntimeMap.length) {
|
||||
return bedrockAir;
|
||||
return null;
|
||||
}
|
||||
return bedrockRuntimeMap[bedrockId];
|
||||
}
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren