Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-11-17 05:20:05 +01:00
Fixed block.getBiome returning null in new 1.1 biomes. This fixes BUKKIT-496
Dieser Commit ist enthalten in:
Ursprung
9da730c8e1
Commit
d5438c30b9
@ -256,6 +256,16 @@ public class CraftBlock implements Block {
|
|||||||
return Biome.MUSHROOM_ISLAND;
|
return Biome.MUSHROOM_ISLAND;
|
||||||
} else if (base == BiomeBase.MUSHROOM_SHORE) {
|
} else if (base == BiomeBase.MUSHROOM_SHORE) {
|
||||||
return Biome.MUSHROOM_SHORE;
|
return Biome.MUSHROOM_SHORE;
|
||||||
|
} else if (base == BiomeBase.BEACH) {
|
||||||
|
return Biome.BEACH;
|
||||||
|
} else if (base == BiomeBase.DESERT_HILLS) {
|
||||||
|
return Biome.DESERT_HILLS;
|
||||||
|
} else if (base == BiomeBase.FOREST_HILLS) {
|
||||||
|
return Biome.FOREST_HILLS;
|
||||||
|
} else if (base == BiomeBase.TAIGA_HILLS) {
|
||||||
|
return Biome.TAIGA_HILLS;
|
||||||
|
} else if (base == BiomeBase.SMALL_MOUNTAINS) {
|
||||||
|
return Biome.SMALL_MOUNTAINS;
|
||||||
}
|
}
|
||||||
|
|
||||||
return null;
|
return null;
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren