mirror of
https://github.com/DRE2N/DungeonsXL.git
synced 2025-02-17 21:02:12 +01:00
Use <br> instead of / as hologram line separator
This commit is contained in:
parent
580db58348
commit
e80bb1f605
@ -83,9 +83,9 @@ public class HologramSign extends Passive {
|
|||||||
markAsErroneous("Unknown message, ID: " + getLine(1));
|
markAsErroneous("Unknown message, ID: " + getLine(1));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
String[] holoLines = text.split("/");
|
String[] holoLines = text.split("(?i)<br>");
|
||||||
Location location = getSign().getLocation();
|
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);
|
hologram = HologramsAPI.createHologram(api, location);
|
||||||
for (String line : holoLines) {
|
for (String line : holoLines) {
|
||||||
|
Loading…
Reference in New Issue
Block a user