Use <br> instead of / as hologram line separator

This commit is contained in:
Daniel Saukel 2020-04-11 22:35:54 +02:00
parent 580db58348
commit e80bb1f605
1 changed files with 2 additions and 2 deletions

View File

@ -83,9 +83,9 @@ public class HologramSign extends Passive {
markAsErroneous("Unknown message, ID: " + getLine(1));
return;
}
String[] holoLines = text.split("/");
String[] holoLines = text.split("(?i)<br>");
Location location = getSign().getLocation();
location = location.add(0.5, NumberUtil.parseDouble(getLine(2)), 0.5);
location = location.add(0.5, NumberUtil.parseDouble(getLine(2), 2.0), 0.5);
hologram = HologramsAPI.createHologram(api, location);
for (String line : holoLines) {