diff --git a/gradle.properties b/gradle.properties index 2b38d32..b9a7d00 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,7 +1,7 @@ org.gradle.jvmargs=-Xmx2G # BTA -bta_version=7.3-pre3 +bta_version=7.3-pre4 bta_channel=prerelease # Loader @@ -12,6 +12,6 @@ mod_menu_version=3.0.0 halplibe_version=5.0.0 # Mod -mod_version=1.0.0 +mod_version=1.4.3-7.3Pre4 mod_group=deus -mod_name=rpgstuff +mod_name=stanleytemperature diff --git a/src/main/java/deus/stanleytemperature/mixin/MixinEntityPlayer.java b/src/main/java/deus/stanleytemperature/mixin/MixinEntityPlayer.java index 7439901..71636ea 100644 --- a/src/main/java/deus/stanleytemperature/mixin/MixinEntityPlayer.java +++ b/src/main/java/deus/stanleytemperature/mixin/MixinEntityPlayer.java @@ -69,7 +69,7 @@ public void afterUpdate(CallbackInfo ci) { @Inject(method = "hurt(Lnet/minecraft/core/entity/Entity;ILnet/minecraft/core/util/helper/DamageType;)Z", at = @At("RETURN"), remap = false) public void afterPlayerHurt(Entity attacker, int damage, DamageType type, CallbackInfoReturnable cir) { - if (MOD_CONFIG.getConfig().getBoolean("snowballEffects.snowballAffectsTemperature")) { + if (MOD_CONFIG.getConfig().getBoolean("snowballEffects.enabled")) { Object obj = attacker; if (obj instanceof ProjectileSnowball && ((ProjectileSnowball) obj).owner != null) { stanley$decreasePlayerTemperature(MOD_CONFIG.getConfig().getFloat("snowballEffect.snowballEffect"));