mirror of
https://github.com/cabaletta/baritone
synced 2025-01-22 23:13:09 +00:00
quiet
This commit is contained in:
parent
e05010c9d2
commit
0ffbb0c151
@ -29,6 +29,7 @@ import net.minecraft.util.math.BlockPos;
|
|||||||
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.nio.file.Files;
|
import java.nio.file.Files;
|
||||||
|
import java.nio.file.NoSuchFileException;
|
||||||
import java.nio.file.Path;
|
import java.nio.file.Path;
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
|
||||||
@ -45,6 +46,8 @@ public class ContainerMemory implements IContainerMemory {
|
|||||||
this.saveTo = saveTo;
|
this.saveTo = saveTo;
|
||||||
try {
|
try {
|
||||||
read(Files.readAllBytes(saveTo));
|
read(Files.readAllBytes(saveTo));
|
||||||
|
} catch (NoSuchFileException ignored) {
|
||||||
|
inventories.clear();
|
||||||
} catch (Exception ex) {
|
} catch (Exception ex) {
|
||||||
ex.printStackTrace();
|
ex.printStackTrace();
|
||||||
inventories.clear();
|
inventories.clear();
|
||||||
|
Loading…
Reference in New Issue
Block a user