From 5d7bcca7ab4f0813c63d8885f7d8024f386dd103 Mon Sep 17 00:00:00 2001 From: Boy0000 <62521371+Boy0000@users.noreply.github.com> Date: Tue, 21 Jun 2022 19:42:23 +0200 Subject: [PATCH] 1.19 (#92) * update * update deps * paper repo --- gradle.properties | 6 +++--- settings.gradle.kts | 2 +- .../com/mineinabyss/deeperworld/movement/MovementHandler.kt | 6 ++---- 3 files changed, 6 insertions(+), 8 deletions(-) diff --git a/gradle.properties b/gradle.properties index a339920..dd364a9 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,5 +1,5 @@ group=com.mineinabyss -version=0.4 +version=0.5 kotlinVersion=1.6.10 -serverVersion=1.18.2-R0.1-SNAPSHOT -idofrontVersion=0.10.90 +serverVersion=1.19-R0.1-SNAPSHOT +idofrontVersion=0.11.95 diff --git a/settings.gradle.kts b/settings.gradle.kts index bf4155f..2449744 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -2,7 +2,7 @@ pluginManagement { repositories { gradlePluginPortal() maven("https://repo.mineinabyss.com/releases") - maven("https://papermc.io/repo/repository/maven-public/") //Paper + maven("https://repo.papermc.io/repository/maven-public/") //Paper } plugins { diff --git a/src/main/kotlin/com/mineinabyss/deeperworld/movement/MovementHandler.kt b/src/main/kotlin/com/mineinabyss/deeperworld/movement/MovementHandler.kt index e860c3a..8ff0955 100644 --- a/src/main/kotlin/com/mineinabyss/deeperworld/movement/MovementHandler.kt +++ b/src/main/kotlin/com/mineinabyss/deeperworld/movement/MovementHandler.kt @@ -7,8 +7,6 @@ import com.mineinabyss.deeperworld.movement.transition.TransitionKind import com.mineinabyss.deeperworld.movement.transition.toEvent import com.mineinabyss.idofront.events.call import com.mineinabyss.idofront.messaging.miniMsg -import net.kyori.adventure.text.Component -import net.kyori.adventure.text.format.NamedTextColor import net.kyori.adventure.title.Title import org.bukkit.GameMode import org.bukkit.Location @@ -32,7 +30,7 @@ object MovementHandler { this.handleTeleport() } } - } + } ?: return } else { applyOutOfBoundsDamage(player) } @@ -91,6 +89,6 @@ object MovementHandler { } } - return TransitionTeleportHandler(player, sectionTransition.from, sectionTransition.to); + return TransitionTeleportHandler(player, sectionTransition.from, sectionTransition.to) } }