All your furnaces will no longer wipe when a single one fails to load.

This commit is contained in:
Brianna 2019-06-03 22:50:05 -04:00
parent 5f2e5c8d1e
commit 846936cd3d
2 changed files with 3 additions and 3 deletions

View File

@ -4,7 +4,7 @@ stages:
variables: variables:
name: "EpicFurnaces" name: "EpicFurnaces"
path: "/builds/$CI_PROJECT_PATH" path: "/builds/$CI_PROJECT_PATH"
version: "4.2.2" version: "4.2.3"
build: build:
stage: build stage: build

View File

@ -94,8 +94,8 @@ public class FurnaceManager {
if (storage.containsGroup("charged")) { if (storage.containsGroup("charged")) {
for (StorageRow row : storage.getRowsByGroup("charged")) { for (StorageRow row : storage.getRowsByGroup("charged")) {
Location location = Methods.deserializeLocation(row.getKey()); Location location = Methods.deserializeLocation(row.getKey());
if (location == null || location.getBlock() == null) { if (location == null || location.getWorld() == null) {
return; continue;
} }
int level = row.get("level").asInt(); int level = row.get("level").asInt();