mirror of
https://github.com/songoda/EpicFurnaces.git
synced 2024-11-30 22:03:22 +01:00
All your furnaces will no longer wipe when a single one fails to load.
This commit is contained in:
parent
5f2e5c8d1e
commit
846936cd3d
@ -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
|
||||||
|
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user