diff --git a/gradle.properties b/gradle.properties index 2d1dcd175..cc9920f1c 100644 --- a/gradle.properties +++ b/gradle.properties @@ -6,6 +6,6 @@ versions_minecraft=1.19.3 versions_minecraft_range=[1.19.3,1.20) versions_forge=44.0.18 versions_forge_range=[44.0.0,) -versions_mod=1.7.5 +versions_mod=1.7.6 versions_mlib=4.1.0 versions_mlib_range=[4.1.0,5.0.0) \ No newline at end of file diff --git a/src/main/java/com/majruszsdifficulty/gamemodifiers/contexts/OnSoulJarMultiplier.java b/src/main/java/com/majruszsdifficulty/gamemodifiers/contexts/OnSoulJarMultiplier.java index c8b2fb687..39abdffcd 100644 --- a/src/main/java/com/majruszsdifficulty/gamemodifiers/contexts/OnSoulJarMultiplier.java +++ b/src/main/java/com/majruszsdifficulty/gamemodifiers/contexts/OnSoulJarMultiplier.java @@ -35,7 +35,7 @@ public float getMultiplier() { @Override public Level getLevel() { - return this.entity.getLevel(); + return this.entity != null ? this.entity.getLevel() : null; } } }