Allow empty messages

Especially for holograms
This commit is contained in:
Eric 2017-05-20 12:45:13 +02:00
parent edd7608c02
commit 4b2620964c
2 changed files with 4 additions and 1 deletions

View File

@ -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, "");
}
}
}

View File

@ -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();