Fixed "/co undo" not functioning when targeting a container
This commit is contained in:
parent
f80c6ab5cd
commit
2a8e4f9797
1 changed files with 7 additions and 7 deletions
|
|
@ -418,6 +418,7 @@ public class RollbackRestoreCommand {
|
|||
}
|
||||
else {
|
||||
Rollback.performRollbackRestore(statement, player2, uuidList, rollbackusers2, rtime, blist, elist, euserlist, finalArgAction, location, radius, stime, restrictWorld, false, verbose, action, finalPreview);
|
||||
}
|
||||
if (finalPreview < 2) {
|
||||
List<Object> list = new ArrayList<>();
|
||||
list.add(stime);
|
||||
|
|
@ -426,7 +427,6 @@ public class RollbackRestoreCommand {
|
|||
ConfigHandler.lastRollback.put(player2.getName(), list);
|
||||
}
|
||||
}
|
||||
}
|
||||
else {
|
||||
Chat.sendMessage(player2, Color.DARK_AQUA + "CoreProtect " + Color.WHITE + "- " + Phrase.build(Phrase.USER_NOT_FOUND, baduser));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue