Skip to content
This repository has been archived by the owner on Aug 13, 2023. It is now read-only.

Commit

Permalink
1.19.4 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lumaa-dev committed Mar 21, 2023
1 parent 08c6b2e commit 03f852c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@

# Fabric Properties
# check these on https://fabricmc.net/develop
minecraft_version=1.19.3
yarn_mappings=1.19.3+build.5
loader_version=0.14.12
minecraft_version=1.19.4
yarn_mappings=1.19.4+build.1
loader_version=0.14.17

# Mod Properties
mod_version = 1.2.0
mod_version = 1.2.0-1.19.4
maven_group = com.lumaa
archives_base_name = libu

# Dependencies
fabric_version=0.73.0+1.19.3
fabric_version=0.76.0+1.19.4

2 changes: 1 addition & 1 deletion src/main/java/com/lumaa/libu/items/LibuProjectile.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public static void setProjectileInfo(ProjectileInfo projectileInfo) {
protected void onEntityHit(EntityHitResult entityHitResult) {
super.onEntityHit(entityHitResult);
Entity entity = entityHitResult.getEntity();
entity.damage(DamageSource.thrownProjectile(this, this.getOwner()), projectileInfo.damage);
entity.damage(world.getDamageSources().thrown(this, this.getOwner()), projectileInfo.damage);
}

@Override
Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@

"depends": {
"fabricloader": ">=0.14.12",
"fabric-api": ">=0.70.0",
"minecraft": "=1.19.3",
"fabric-api": ">=0.76.0",
"minecraft": ">=1.19.4",
"java": ">=17"
},
"suggests": {
Expand Down

0 comments on commit 03f852c

Please sign in to comment.