Skip to content

Commit 6b0422a

Browse files
committed
Bump version to fix forgematica shenanigans.
1 parent 6d39774 commit 6b0422a

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jade_version=3439522
88
jei_version=1.16.5:7.7.1.121
99
shoulders_version=-1.16.5:0.0.2.6
1010
group=noobanidus.mods.lootr
11-
version=0.2.18.49
11+
version=0.2.19.50
1212

1313
mod_name=Lootr
1414
mod_author=Noobanidus

src/main/java/noobanidus/mods/lootr/block/tile/TileTicker.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,10 @@ public static void addEntry(World level, BlockPos position) {
4040
return;
4141
}
4242

43+
if (ServerLifecycleHooks.getCurrentServer() == null) {
44+
return;
45+
}
46+
4347
RegistryKey<World> dimension = level.dimension();
4448
if (ConfigManager.isDimensionBlocked(dimension)) {
4549
return;

0 commit comments

Comments
 (0)