CoreProtect Persistence of ForEach
This commit is contained in:
parent
649392363f
commit
e60d58e68b
@ -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())
|
||||
|
Loading…
Reference in New Issue
Block a user