Skip to content

Commit

Permalink
Bug fixes
Browse files Browse the repository at this point in the history
*Fixed #77 Issue caused by OPC. OPC version has been incremented.
*Fixed #79 Issue caused by a single false boolean that should have been true.
  • Loading branch information
CleverNucleus committed Jul 29, 2022
1 parent 1d9e65f commit 0ba33ec
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ minecraft_version=1.18.2
yarn_mappings=1.18.2+build.3
loader_version=0.14.6

mod_version = 3.2.3
mod_version = 3.2.4
maven_group = com.github.clevernucleus
archives_base_name = playerex

fabric_version=0.55.1+1.18.2
dataattributes_version=1.1.9
opc_version=0.5.0
opc_version=0.5.1
cardinal_components_version=4.1.4
placeholder_api=1.1.3+1.17.1
cloth_config_version=6.2.62
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public static float onDamage(final LivingEntity livingEntity, final DamageSource
}

public static boolean shouldDamage(final LivingEntity livingEntity, final DamageSource source, final float original) {
if(original == 0.0F) return false;
if(original == 0.0F) return true;
Entity origin = source.getSource();
Entity attacker = source.getAttacker();

Expand Down

0 comments on commit 0ba33ec

Please sign in to comment.