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);
if (!tempMat.isPresent()) {
tempMat = Optional.ofNullable(XMaterial.STONE);
tempMat = Optional.of(XMaterial.STONE);
}
this.displayItem = tempMat.get().parseItem();
ItemMeta im = this.displayItem.getItemMeta();

View File

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