bugfixes
Dieser Commit ist enthalten in:
Ursprung
309eadfd85
Commit
ab10a7a4bc
@ -70,6 +70,7 @@ public class EnderPearlListener implements Listener {
|
||||
return;
|
||||
if(projectile.getPassenger() == null)
|
||||
return;
|
||||
|
||||
Player player = ((Player) projectile.getShooter()).getPlayer();
|
||||
player.teleport(event.getEntity().getVelocity().subtract(event.getHitBlock().getLocation().toVector()).toLocation(player.getWorld()));
|
||||
}
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren