Skip to content

Commit

Permalink
Sets island spawn point to new enderpearl location.
Browse files Browse the repository at this point in the history
  • Loading branch information
tastybento committed Mar 13, 2021
1 parent 9a586ed commit 9354382
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ public void onEnderPearlLand(ProjectileHitEvent e) {
});
try {
i.setProtectionCenter(l);
i.setSpawnPoint(l.getWorld().getEnvironment(), l);
u.getPlayer().playSound(l, Sound.ENTITY_GENERIC_EXPLODE, 2F, 2F);
} catch (IOException e1) {
addon.logError("Could not move box " + e1.getMessage());
Expand Down

0 comments on commit 9354382

Please sign in to comment.