CoreProtect Persistence of ForEach

This commit is contained in:
Driftay 2019-11-21 08:07:55 -05:00
parent 649392363f
commit e60d58e68b
1 changed files with 2 additions and 2 deletions

View File

@ -622,8 +622,8 @@ public class FactionsPlayerListener implements Listener {
.replace("{y}", e.getClickedBlock().getY() + "")
.replace("{z}", e.getClickedBlock().getZ() + ""));
String rowFormat = TL.COMMAND_INSPECT_ROW.toString();
for (int i = 0; i < info.size(); i++) {
CoreProtectAPI.ParseResult row = coAPI.parseResult(info.get(i));
for (String[] strings : info) {
CoreProtectAPI.ParseResult row = coAPI.parseResult(strings);
player.sendMessage(rowFormat
.replace("{time}", convertTime(row.getTime()))
.replace("{action}", row.getActionString())