From 8e41ec7bc377653f05c9d8735ed254113c69f99f Mon Sep 17 00:00:00 2001 From: tastybento Date: Sun, 23 Mar 2025 12:09:51 -0700 Subject: [PATCH 1/3] Update tipped arrow panel color --- src/main/resources/panels/detail_panel.yml | 4 ++-- src/main/resources/panels/value_panel.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/resources/panels/detail_panel.yml b/src/main/resources/panels/detail_panel.yml index d91b228b..20998476 100644 --- a/src/main/resources/panels/detail_panel.yml +++ b/src/main/resources/panels/detail_panel.yml @@ -136,7 +136,7 @@ detail_panel: # CustomPotionColor uses the Decimal description of a Color, just as leather armor does. # All you need to do is take a hex code of a color (like #ff00aa) which represents red, # green, blue as 2 hex digits each and convert that number into a decimal, using a hex to decimal calculator. - icon: tipped_arrow{CustomPotionColor:11546150} + icon: tipped_arrow[potion_contents={custom_color:11546150}] title: level.gui.buttons.previous.name description: level.gui.buttons.previous.description data: @@ -154,7 +154,7 @@ detail_panel: 7: material_button 8: material_button 9: - icon: tipped_arrow{CustomPotionColor:8439583} + icon: tipped_arrow[potion_contents={custom_color:8439583}] title: level.gui.buttons.next.name description: level.gui.buttons.next.description data: diff --git a/src/main/resources/panels/value_panel.yml b/src/main/resources/panels/value_panel.yml index ac06443e..5714fa9a 100644 --- a/src/main/resources/panels/value_panel.yml +++ b/src/main/resources/panels/value_panel.yml @@ -64,7 +64,7 @@ value_panel: 8: material_button 3: 1: - icon: tipped_arrow{CustomPotionColor:11546150} + icon: tipped_arrow[potion_contents={custom_color:11546150}] title: level.gui.buttons.previous.name description: level.gui.buttons.previous.description data: @@ -82,7 +82,7 @@ value_panel: 7: material_button 8: material_button 9: - icon: tipped_arrow{CustomPotionColor:8439583} + icon: tipped_arrow[potion_contents={custom_color:8439583}] title: level.gui.buttons.next.name description: level.gui.buttons.next.description data: From b27d448d7420c84e8a98f3fdb289a5225557c96f Mon Sep 17 00:00:00 2001 From: tastybento Date: Sun, 30 Mar 2025 08:43:28 +0900 Subject: [PATCH 2/3] Fix check for ItemsAdder before trying to use hook. #360 --- pom.xml | 2 +- src/main/java/world/bentobox/level/config/BlockConfig.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index e046731b..d7d75531 100644 --- a/pom.xml +++ b/pom.xml @@ -55,7 +55,7 @@ 2.0.9 1.21.3-R0.1-SNAPSHOT - 3.2.5-SNAPSHOT + 3.3.1-SNAPSHOT 1.12.0 diff --git a/src/main/java/world/bentobox/level/config/BlockConfig.java b/src/main/java/world/bentobox/level/config/BlockConfig.java index 63dccfa7..82c6740f 100644 --- a/src/main/java/world/bentobox/level/config/BlockConfig.java +++ b/src/main/java/world/bentobox/level/config/BlockConfig.java @@ -100,7 +100,7 @@ private void addMissing(ConfigurationSection blocks) { private boolean isOther(String key) { // Maybe a custom name space - return ItemsAdderHook.isInRegistry(key); + return addon.isItemsAdder() && ItemsAdderHook.isInRegistry(key); } private boolean isSpawner(String key) { From db8767eca53c6f409c9765284d15a3d884838b8f Mon Sep 17 00:00:00 2001 From: tastybento Date: Sun, 30 Mar 2025 09:55:59 +0900 Subject: [PATCH 3/3] Version 2.19.3 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index d7d75531..e9cbd940 100644 --- a/pom.xml +++ b/pom.xml @@ -67,7 +67,7 @@ -LOCAL - 2.19.2 + 2.19.3 BentoBoxWorld_Level bentobox-world https://sonarcloud.io