Revert signature changes of public methods that caused crashes (#74)

* restore previous public method signature to prevent crash

* don't register the event if vanilla config

* revert signature changes

* Restore original calculation logic

---------

Co-authored-by: OneEyeMaker <[email protected]>
This commit is contained in:
AlexdoruandOneEyeMaker authored and GitHub committed 2023-02-13 16:34:38 +01:00
1 parent 3e2ba6ac16
commit 50bd690204
4 files changed
+13 -12

No files matched your search

@@ -60,7 +60,7 @@ public class DaggerEntity extends ProjectileBase {
(EntityPlayer) shootingEntity,
movingobjectposition.entityHit,
(ToolCore) returnStack.getItem(),
PHConstruct.daggerThrowMultiplier);
PHConstruct.daggerAdditionalThrowDamage);
// super.onHitEntity(movingobjectposition);
}