Fixed NullPointerException while performing rollbacks
This commit is contained in:
parent
b9309482cf
commit
d7d53bf9e2
1 changed files with 2 additions and 2 deletions
|
|
@ -349,8 +349,8 @@ public class Rollback extends Queue {
|
|||
clearInventories = true;
|
||||
}
|
||||
|
||||
ArrayList<Object[]> data = finalBlockList.get(chunkKey);
|
||||
ArrayList<Object[]> itemData = finalItemList.get(chunkKey);
|
||||
ArrayList<Object[]> data = finalBlockList.getOrDefault(chunkKey, new ArrayList<>());
|
||||
ArrayList<Object[]> itemData = finalItemList.getOrDefault(chunkKey, new ArrayList<>());
|
||||
Map<Block, BlockData> chunkChanges = new LinkedHashMap<>();
|
||||
|
||||
for (Object[] row : data) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue