diff --git a/src/main/java/com/glodblock/github/common/tile/TileLevelMaintainer.java b/src/main/java/com/glodblock/github/common/tile/TileLevelMaintainer.java index d02e3e36..8127b9dd 100644 --- a/src/main/java/com/glodblock/github/common/tile/TileLevelMaintainer.java +++ b/src/main/java/com/glodblock/github/common/tile/TileLevelMaintainer.java @@ -588,7 +588,11 @@ public class TileLevelMaintainer extends AENetworkTile enable = tag.getBoolean("enable"); state = LevelState.values()[tag.getInteger("state")]; if (tag.hasKey("link")) { + try { this.link = AEApi.instance().storage().loadCraftingLink(tag.getCompoundTag("link"), this.tile); + } catch (Exception ignored) { + this.link = null; + } } job = null; } @@ -600,7 +604,11 @@ public class TileLevelMaintainer extends AENetworkTile enable = tag.getBoolean("enable"); state = LevelState.values()[tag.getInteger("state")]; if (tag.hasKey("link")) { + try { this.link = AEApi.instance().storage().loadCraftingLink(tag.getCompoundTag("link"), this.tile); + } catch (Exception ignored) { + this.link = null; + } } }