mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 06:07:27 +00:00
Fix biome collection bug and add spawn GUI tooltip
This commit is contained in:
1 parent
9850e4b751
commit
9e6f341d77
3 files changed
+3
-1
No files matched your search
@@ -281,7 +281,7 @@ public class NpcAPI extends AbstractNpcAPI {
|
||||
List<String> biomes = new ArrayList<>();
|
||||
Set<BiomeGenBase> allBiomes = new HashSet<BiomeGenBase>();
|
||||
for (Type type : BiomeDictionary.Type.values()) {
|
||||
allBiomes.addAll(BiomeDictionary.getBiomesForType(type));
|
||||
Collections.addAll(allBiomes, BiomeDictionary.getBiomesForType(type));
|
||||
}
|
||||
for (BiomeGenBase base : BiomeGenBase.getBiomeGenArray()) {
|
||||
if (base != null)
|
||||
|
||||
Reference in new issue
Block a user