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:
name: "EpicFurnaces"
path: "/builds/$CI_PROJECT_PATH"
version: "4.2.2"
version: "4.2.3"
build:
stage: build

View File

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