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