mirror of
https://github.com/PlayPro/CoreProtect.git
synced 2024-12-30 18:08:24 +01:00
Fixed "/co undo" not functioning when targeting a container
This commit is contained in:
parent
f80c6ab5cd
commit
2a8e4f9797
@ -418,13 +418,13 @@ public class RollbackRestoreCommand {
|
|||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
Rollback.performRollbackRestore(statement, player2, uuidList, rollbackusers2, rtime, blist, elist, euserlist, finalArgAction, location, radius, stime, restrictWorld, false, verbose, action, finalPreview);
|
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<>();
|
if (finalPreview < 2) {
|
||||||
list.add(stime);
|
List<Object> list = new ArrayList<>();
|
||||||
list.add(finalArgs);
|
list.add(stime);
|
||||||
list.add(locationFinal);
|
list.add(finalArgs);
|
||||||
ConfigHandler.lastRollback.put(player2.getName(), list);
|
list.add(locationFinal);
|
||||||
}
|
ConfigHandler.lastRollback.put(player2.getName(), list);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
Loading…
Reference in New Issue
Block a user