1.7 spectator bug fixed.
Placeholderapi is no longer a requirement. /f showclaims lag fixed Scoreboard is now off by default, can be turned on in config. Issue with Flight AutoEnabling when disabled has been fixed. 1.7 itemflag bug fixed
This commit is contained in:
@@ -40,11 +40,16 @@ public class CmdShowClaims extends FCommand{
|
||||
}
|
||||
for (String world : chunkMap.keySet()){
|
||||
String message = TL.COMMAND_SHOWCLAIMS_FORMAT.toString().replace("{world}",world);
|
||||
sendMessage(message.replace("{chunks}","")); // made {chunks} blank as I removed the placeholder and people wont update their config :shrug:
|
||||
StringBuilder chunks = new StringBuilder("");
|
||||
for (String chunkString : chunkMap.get(world)){
|
||||
chunks.append(chunkString + ", ");
|
||||
if (chunks.toString().length() >= 2000 ) {
|
||||
sendMessage(chunks.toString());
|
||||
chunks.setLength(0);
|
||||
}
|
||||
}
|
||||
sendMessage(message.replace("{chunks}",chunks));
|
||||
|
||||
sendMessage("");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user