mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2025-08-10 14:33:08 +00:00
plot info and flags
This commit is contained in:
parent
f8db0ceec5
commit
ec754c39b7
3 changed files with 12 additions and 12 deletions
|
@ -567,7 +567,7 @@ public class SQLManager extends AbstractDB {
|
|||
if (element.contains(":")) {
|
||||
final String[] split = element.split(":");
|
||||
try {
|
||||
flags.add(new Flag(FlagManager.getFlag(split[0], true), split[1].replace("<EFBFBD>", ",").replace("<EFBFBD>", ":")));
|
||||
flags.add(new Flag(FlagManager.getFlag(split[0], true), split[1].replaceAll("\u00AF", ":").replaceAll("´", ",")));
|
||||
} catch (final Exception e) {
|
||||
exception = true;
|
||||
}
|
||||
|
@ -640,7 +640,7 @@ public class SQLManager extends AbstractDB {
|
|||
if (i != 0) {
|
||||
flag_string.append(",");
|
||||
}
|
||||
flag_string.append(flag.getKey() + ":" + flag.getValue());
|
||||
flag_string.append(flag.getKey() + ":" + flag.getValue().replaceAll(":", "\u00AF").replaceAll(",", "\u00B4"));
|
||||
i++;
|
||||
}
|
||||
runTask(new Runnable() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue