Dieser Commit ist enthalten in:
Ursprung
9db373c0f3
Commit
ac4170d6b0
@ -81,7 +81,7 @@ public class TeleportPortal implements PortalHandler {
|
||||
if (target.getDepth() != 0.0) {
|
||||
normalized.setX(1 - portal.normalize(from).getX());
|
||||
}
|
||||
player.playSound(player.getLocation(), Sound.BLOCK_PORTAL_TRAVEL, 1.0f, 1.0f);
|
||||
player.playSound(player.getLocation(), Sound.BLOCK_ENCHANTMENT_TABLE_USE, 0.25f, 1.0f);
|
||||
player.teleport(target.denormalize(normalized).toLocation(to.getWorld(), (float) (to.getYaw() - Math.toDegrees(target.getYrotation() - portal.getYrotation())), to.getPitch()), PlayerTeleportEvent.TeleportCause.PLUGIN);
|
||||
}
|
||||
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren