Fix spurious comma in "Flags:" /region info output

When the "/region info" command displays any flags in the region,
it always prints an extra leading comma character after the
"Flags:" prompt.
This commit is contained in:
Wojciech Stryjewski 2012-10-22 02:24:54 -05:00
parent 3ee3799e55
commit 1075d36748

View File

@ -495,7 +495,7 @@ public void displayRegionInfo(CommandSender sender, final LocalPlayer localPlaye
continue; continue;
} }
if (s.length() > 0) { if (hasFlags) {
s.append(", "); s.append(", ");
} }