Split list of players, so that it will wrap properly
This commit is contained in:
parent
e2c54eb766
commit
ead4385438
@ -124,7 +124,7 @@ public class DynmapFactionsPlugin extends JavaPlugin {
|
|||||||
v = v.replaceAll("%playerowners%", (adm!=null)?adm.getName():"");
|
v = v.replaceAll("%playerowners%", (adm!=null)?adm.getName():"");
|
||||||
String res = "";
|
String res = "";
|
||||||
for(FPlayer r : fact.getFPlayers()) {
|
for(FPlayer r : fact.getFPlayers()) {
|
||||||
if(res.length()>0) res += ",";
|
if(res.length()>0) res += ", ";
|
||||||
res += r.getName();
|
res += r.getName();
|
||||||
}
|
}
|
||||||
v = v.replaceAll("%playermembers%", res);
|
v = v.replaceAll("%playermembers%", res);
|
||||||
|
Loading…
Reference in New Issue
Block a user