Improve default Materials for biomes.yml

This commit is contained in:
Christian Koop 2023-08-16 20:12:24 +02:00
parent 4df43fccad
commit 596305bd33
No known key found for this signature in database
GPG Key ID: 89A8181384E010A3
2 changed files with 6 additions and 6 deletions

View File

@ -31,7 +31,7 @@ public class BiomeIcon {
byte tempData = (byte) biomeConfig.getInt("Biomes." + biome.name() + ".DisplayItem.Data", 0); byte tempData = (byte) biomeConfig.getInt("Biomes." + biome.name() + ".DisplayItem.Data", 0);
if (!tempMat.isPresent()) { if (!tempMat.isPresent()) {
tempMat = Optional.ofNullable(XMaterial.STONE); tempMat = Optional.of(XMaterial.STONE);
} }
this.displayItem = tempMat.get().parseItem(); this.displayItem = tempMat.get().parseItem();
ItemMeta im = this.displayItem.getItemMeta(); ItemMeta im = this.displayItem.getItemMeta();

View File

@ -245,7 +245,7 @@ Biomes:
JUNGLE: JUNGLE:
DisplayName: '&6Jungle' DisplayName: '&6Jungle'
DisplayItem: DisplayItem:
Material: VINES Material: VINE
Data: 0 Data: 0
Permission: true Permission: true
Normal: true Normal: true
@ -259,7 +259,7 @@ Biomes:
JUNGLE_HILLS: JUNGLE_HILLS:
DisplayName: '&6Jungle Hills' DisplayName: '&6Jungle Hills'
DisplayItem: DisplayItem:
Material: JUNGLE_TREE_SAPLING Material: JUNGLE_SAPLING
Data: 0 Data: 0
Permission: true Permission: true
Normal: true Normal: true
@ -449,7 +449,7 @@ Biomes:
SOUL_SAND_VALLEY: SOUL_SAND_VALLEY:
DisplayName: '&6Soul Sand Valley' DisplayName: '&6Soul Sand Valley'
DisplayItem: DisplayItem:
Material: SOULSAND Material: SOUL_SAND
Data: 0 Data: 0
Permission: true Permission: true
Normal: false Normal: false
@ -470,7 +470,7 @@ Biomes:
SWAMP: SWAMP:
DisplayName: '&6Swamp' DisplayName: '&6Swamp'
DisplayItem: DisplayItem:
Material: LILYPAD Material: LILY_PAD
Data: 0 Data: 0
Permission: true Permission: true
Normal: true Normal: true