mirror of
https://github.com/songoda/UltimateStacker.git
synced 2025-01-30 19:21:22 +01:00
Merge branch 'development' of gitlab.com:Songoda/ultimatestacker into development
This commit is contained in:
commit
748b62bc1e
@ -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);
|
||||
|
@ -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?");
|
||||
|
Loading…
Reference in New Issue
Block a user