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("{y}", e.getClickedBlock().getY() + "")
|
||||||
.replace("{z}", e.getClickedBlock().getZ() + ""));
|
.replace("{z}", e.getClickedBlock().getZ() + ""));
|
||||||
String rowFormat = TL.COMMAND_INSPECT_ROW.toString();
|
String rowFormat = TL.COMMAND_INSPECT_ROW.toString();
|
||||||
for (int i = 0; i < info.size(); i++) {
|
for (String[] strings : info) {
|
||||||
CoreProtectAPI.ParseResult row = coAPI.parseResult(info.get(i));
|
CoreProtectAPI.ParseResult row = coAPI.parseResult(strings);
|
||||||
player.sendMessage(rowFormat
|
player.sendMessage(rowFormat
|
||||||
.replace("{time}", convertTime(row.getTime()))
|
.replace("{time}", convertTime(row.getTime()))
|
||||||
.replace("{action}", row.getActionString())
|
.replace("{action}", row.getActionString())
|
||||||
|
Loading…
Reference in New Issue
Block a user