Skip to content

Commit

Permalink
Fixes from 1.18.2 version
Browse files Browse the repository at this point in the history
*Brought over the fixes from 1.18.2 version. Now uses higher version of OPC.
  • Loading branch information
CleverNucleus committed Jul 29, 2022
1 parent af68290 commit ab865d1
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.19
yarn_mappings=1.19+build.1
loader_version=0.14.6

mod_version = 3.3.2
mod_version = 3.3.3
maven_group = com.github.clevernucleus
archives_base_name = playerex

fabric_version=0.57.0+1.19
dataattributes_version=1.2.1
opc_version=0.6.0
opc_version=0.6.1
cardinal_components_version=5.0.1
placeholder_api=2.0.0-beta.7+1.19
cloth_config_version=7.0.73
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 ab865d1

Please sign in to comment.