diff --git a/src/main/java/com/songoda/ultimatestacker/UltimateStacker.java b/src/main/java/com/songoda/ultimatestacker/UltimateStacker.java index bbdfe5b..aa04f38 100644 --- a/src/main/java/com/songoda/ultimatestacker/UltimateStacker.java +++ b/src/main/java/com/songoda/ultimatestacker/UltimateStacker.java @@ -401,7 +401,7 @@ public class UltimateStacker extends SongodaPlugin { if ((blacklisted && !Settings.ITEM_HOLOGRAM_BLACKLIST.getBoolean()) || !INSTANCE.getItemFile().getBoolean("Items." + material + ".Has Hologram") || !Settings.ITEM_HOLOGRAMS.getBoolean() - || newAmount == 1 && !Settings.ITEM_HOLOGRAM_SINGLE.getBoolean()) + || newAmount < Settings.ITEM_MIN_HOLOGRAM_SIZE.getInt()) return; item.setCustomName(name); diff --git a/src/main/java/com/songoda/ultimatestacker/settings/Settings.java b/src/main/java/com/songoda/ultimatestacker/settings/Settings.java index db2813c..4af202c 100644 --- a/src/main/java/com/songoda/ultimatestacker/settings/Settings.java +++ b/src/main/java/com/songoda/ultimatestacker/settings/Settings.java @@ -160,9 +160,9 @@ public class Settings { public static final ConfigSetting ITEM_HOLOGRAMS = new ConfigSetting(config, "Items.Holograms Enabled", true, "Should holograms be displayed above stacked items?"); - public static final ConfigSetting ITEM_HOLOGRAM_SINGLE = new ConfigSetting(config, "Items.Show Hologram For Single", true, - "Should holograms be displayed above items when there is only a single", - "item in the stack?"); + public static final ConfigSetting ITEM_MIN_HOLOGRAM_SIZE = new ConfigSetting(config, "Items.Minimum Hologram Stack Size", 0, + "What should the minimum item stack size be that will show", + "holograms?"); public static final ConfigSetting ITEM_HOLOGRAM_BLACKLIST = new ConfigSetting(config, "Items.Show Holograms For Blacklisted Items", true, "Should items that are blacklisted display holograms?");