From 596305bd331c646ea97f5924ce1f8a2703ab0ad7 Mon Sep 17 00:00:00 2001 From: Christian Koop Date: Wed, 16 Aug 2023 20:12:24 +0200 Subject: [PATCH] Improve default Materials for `biomes.yml` --- .../com/craftaro/skyblock/gui/biome/BiomeIcon.java | 2 +- src/main/resources/biomes.yml | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/main/java/com/craftaro/skyblock/gui/biome/BiomeIcon.java b/src/main/java/com/craftaro/skyblock/gui/biome/BiomeIcon.java index ba4e16d9..d89bed4b 100644 --- a/src/main/java/com/craftaro/skyblock/gui/biome/BiomeIcon.java +++ b/src/main/java/com/craftaro/skyblock/gui/biome/BiomeIcon.java @@ -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(); diff --git a/src/main/resources/biomes.yml b/src/main/resources/biomes.yml index 9947bfb6..dcc3a4b7 100644 --- a/src/main/resources/biomes.yml +++ b/src/main/resources/biomes.yml @@ -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 \ No newline at end of file + Normal: false