Fix wrong teleportation complete sound being used

This commit is contained in:
William committed 2023-03-24 01:32:59 +00:00
1 parent b5aca66731
commit 2c892afee7
1 file changed
+1 -1
@@ -141,7 +141,7 @@ public class Teleport {
public void displayTeleportingComplete(@NotNull OnlineUser teleporter) {
plugin.getLocales().getLocale("teleporting_complete")
.ifPresent(teleporter::sendMessage);
plugin.getSettings().getSoundEffect(Settings.SoundEffectAction.TELEPORTATION_CANCELLED)
plugin.getSettings().getSoundEffect(Settings.SoundEffectAction.TELEPORTATION_COMPLETE)
.ifPresent(teleporter::playSound);
}