mirror of
https://github.com/amalthea-mc/ShopChest.git
synced 2024-12-23 09:31:46 +00:00
Allow empty messages
Especially for holograms
This commit is contained in:
parent
edd7608c02
commit
4b2620964c
@ -89,6 +89,9 @@ public class LanguageConfiguration extends FileConfiguration {
|
||||
String value = sbValue.toString();
|
||||
|
||||
values.put(key, value);
|
||||
} else if (line.split("=").length == 1) {
|
||||
String key = line.split("=")[0];
|
||||
values.put(key, "");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -63,7 +63,7 @@ public class Hologram {
|
||||
|
||||
if (i != this.text.length) {
|
||||
text = this.text[i];
|
||||
if (text == null) continue;
|
||||
if (text == null || text.isEmpty()) continue;
|
||||
} else {
|
||||
if (plugin.getShopChestConfig().enable_hologram_interaction) {
|
||||
loc = location.clone();
|
||||
|
Loading…
Reference in New Issue
Block a user