Merge pull request #2 from Driftay/trent

Fix F inspect
This commit is contained in:
Driftay 2019-06-30 01:51:57 -04:00 committed by GitHub
commit 3481c1d275
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -459,7 +459,7 @@ public class FactionsPlayerListener implements Listener {
.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 (int i = 0; i < info.size(); i++) {
CoreProtectAPI.ParseResult row = coAPI.parseResult(info.get(0)); CoreProtectAPI.ParseResult row = coAPI.parseResult(info.get(i));
player.sendMessage(rowFormat player.sendMessage(rowFormat
.replace("{time}", convertTime(row.getTime())) .replace("{time}", convertTime(row.getTime()))
.replace("{action}", row.getActionString()) .replace("{action}", row.getActionString())