diff --git a/build.gradle.kts b/build.gradle.kts index 7909f6a..eeb15e0 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -8,7 +8,7 @@ plugins { allprojects { project.group = "net.momirealms" - project.version = "3.4.5" + project.version = "3.4.5.1" apply() apply(plugin = "java") diff --git a/plugin/src/main/java/net/momirealms/customcrops/mechanic/item/impl/WateringCanConfig.java b/plugin/src/main/java/net/momirealms/customcrops/mechanic/item/impl/WateringCanConfig.java index 9a5edca..fcd7b2a 100644 --- a/plugin/src/main/java/net/momirealms/customcrops/mechanic/item/impl/WateringCanConfig.java +++ b/plugin/src/main/java/net/momirealms/customcrops/mechanic/item/impl/WateringCanConfig.java @@ -163,6 +163,9 @@ public class WateringCanConfig extends AbstractEventItem implements WateringCan if (maxDurability != 0) { nbtItem.setInteger("Damage", (int) (maxDurability * (((double) storage - water) / storage))); } + if (appearanceMap.containsKey(water)) { + nbtItem.setInteger("CustomModelData", appearanceMap.get(water)); + } itemStack.setItemMeta(nbtItem.getItem().getItemMeta()); }