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:
|
||||
name: "EpicFurnaces"
|
||||
path: "/builds/$CI_PROJECT_PATH"
|
||||
version: "4.2.2"
|
||||
version: "4.2.3"
|
||||
|
||||
build:
|
||||
stage: build
|
||||
|
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user