From 85835a40b9f3c6bed9bfe5bade0b673a66bf4801 Mon Sep 17 00:00:00 2001 From: tastybento Date: Sat, 8 Jul 2023 16:09:29 -0700 Subject: [PATCH 1/2] Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 452ab5a..d3f3a3d 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,8 @@ You're on an island, in a sea of acid! If you like Skyblock, try the AcidIsland Instead of falling you must contend with acid water when expanding your island, and players can boat to each other's islands. +acidislandart + ## Download You can download from GitHub, or ready made plugin packs from [https://download.bentobox.world](https://download.bentobox.world). From 1dd3b1bf85e43620d1414b639274e8c174a97ad5 Mon Sep 17 00:00:00 2001 From: 4o4E <869951226@qq.com> Date: Mon, 10 Jul 2023 22:27:10 +0800 Subject: [PATCH 2/2] fix: unbreakable item still damaged by acid --- .../java/world/bentobox/acidisland/listeners/AcidEffect.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/world/bentobox/acidisland/listeners/AcidEffect.java b/src/main/java/world/bentobox/acidisland/listeners/AcidEffect.java index 4d61814..3e4cbc6 100644 --- a/src/main/java/world/bentobox/acidisland/listeners/AcidEffect.java +++ b/src/main/java/world/bentobox/acidisland/listeners/AcidEffect.java @@ -324,7 +324,7 @@ public class AcidEffect implements Listener { private static boolean damage(ItemStack item) { ItemMeta im = item.getItemMeta(); - if (im instanceof Damageable d) { + if (im instanceof Damageable d && !im.isUnbreakable()) { d.setDamage(d.getDamage() + 1); item.setItemMeta(d); return d.getDamage() >= item.getType().getMaxDurability();