Skip to content

Commit

Permalink
explode on eye loc for an accurately placed explosion
Browse files Browse the repository at this point in the history
  • Loading branch information
xGinko committed Nov 13, 2023
1 parent 0494e56 commit 14e7bc4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>me.xginko</groupId>
<artifactId>PumpkinPVPReloaded</artifactId>
<version>1.4.0</version>
<version>1.4.1</version>
<packaging>jar</packaging>

<name>PumpkinPVPReloaded</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ private void onEntityDeath(EntityDeathEvent event) {
PrePumpkinHeadEntityExplodeEvent preHotHeadEvent = new PrePumpkinHeadEntityExplodeEvent(
dying,
dying.getKiller(),
dying.getLocation().clone().add(0,1,0).toCenterLocation()
dying.getEyeLocation()
);

if (!preHotHeadEvent.callEvent()) return;
Expand Down

0 comments on commit 14e7bc4

Please sign in to comment.