From ec2bfffdd131cace2fe59ac44db4b1b8ad8ceb72 Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 18 Sep 2023 01:03:10 +0000 Subject: [PATCH] Format code [skip actions] --- src/main/java/emu/grasscutter/game/world/World.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/main/java/emu/grasscutter/game/world/World.java b/src/main/java/emu/grasscutter/game/world/World.java index 58f15abd1..2f1a1d98e 100644 --- a/src/main/java/emu/grasscutter/game/world/World.java +++ b/src/main/java/emu/grasscutter/game/world/World.java @@ -385,7 +385,7 @@ public class World implements Iterable { // Call player teleport event. PlayerTeleportEvent event = - new PlayerTeleportEvent(player, teleportProperties, player.getPosition()); + new PlayerTeleportEvent(player, teleportProperties, player.getPosition()); // Call event and check if it was canceled. event.call(); if (event.isCanceled()) { @@ -443,7 +443,6 @@ public class World implements Iterable { } } - // Set player position and rotation if (teleportProperties.getTeleportTo() != null) { player.getPosition().set(teleportProperties.getTeleportTo()); @@ -461,7 +460,7 @@ public class World implements Iterable { player.sendPacket(new PacketPlayerEnterSceneNotify(player, teleportProperties)); if (teleportProperties.getTeleportType() != TeleportType.INTERNAL - && teleportProperties.getTeleportType() != SCRIPT) { + && teleportProperties.getTeleportType() != SCRIPT) { player.getQuestManager().queueEvent(QuestContent.QUEST_CONTENT_ANY_MANUAL_TRANSPORT); }