mirror of
https://github.com/webbukkit/dynmap.git
synced 2024-11-24 19:25:15 +01:00
Don't add <br/> on sign markers when not needed
This commit is contained in:
parent
6fedc7169e
commit
910a2269a8
@ -52,11 +52,11 @@ public class MarkerSignManager {
|
||||
set = v.substring(4);
|
||||
evt.setLine(i, "");
|
||||
}
|
||||
else if(label.length() == 0) {
|
||||
label = escapeMarkup(v);
|
||||
}
|
||||
else {
|
||||
label = label + "<br/>" + escapeMarkup(v);
|
||||
else if(v.length() > 0) {
|
||||
if(label.length() > 0) {
|
||||
label = label + "<br/>";
|
||||
}
|
||||
label = label + escapeMarkup(v);
|
||||
}
|
||||
}
|
||||
/* Get the set and see if the marker is already defined */
|
||||
|
Loading…
Reference in New Issue
Block a user