bugfixes
Dieser Commit ist enthalten in:
Ursprung
8830592eb9
Commit
5814997763
@ -72,7 +72,7 @@ public class EnderPearlListener implements Listener {
|
||||
return;
|
||||
|
||||
Player player = ((Player) projectile.getShooter()).getPlayer();
|
||||
player.teleport(event.getHitBlock().getLocation().subtract(event.getHitBlock().getLocation().getDirection().subtract(player.getLocation().getDirection())));
|
||||
player.teleport(event.getEntity().getVelocity().subtract(event.getHitBlock().getLocation().toVector()).toLocation(player.getWorld()));
|
||||
}
|
||||
|
||||
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren