From 6cbaeab5511fc7030db15ed92a5edc77ac30d2fe Mon Sep 17 00:00:00 2001 From: Micalhl Date: Thu, 18 Aug 2022 20:37:54 +0800 Subject: [PATCH] update --- build.gradle.kts | 16 +++++++++------- .../me/arasple/mc/trhologram/util/Parser.kt | 2 +- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index d3a9647..ad8b5bc 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -7,7 +7,7 @@ plugins { } group = "me.arasple.mc.trhologram" -version = "2.4-pre28" +version = "2.4-pre29" description = "Modern & Advanced Hologram-Plugin for Minecraft Servers" taboolib { @@ -38,7 +38,7 @@ taboolib { } classifier = null - version = "6.0.9-11" + version = "6.0.9-65" } repositories { @@ -49,11 +49,13 @@ repositories { dependencies { compileOnly("org.jetbrains.kotlin:kotlin-stdlib") - compileOnly("ink.ptms.core:v11604:11604") - compileOnly("ink.ptms.core:v11600:11600") - compileOnly("ink.ptms.core:v11300:11300") - compileOnly("ink.ptms.core:v11200:11200") - compileOnly("ink.ptms.core:v10900:10900") + compileOnly("ink.ptms:nms-all:1.0.0") + compileOnly("ink.ptms.core:v11900:11900-minimize:mapped") + compileOnly("ink.ptms.core:v11900:11900-minimize:universal") + compileOnly("ink.ptms.core:v11800:11800-minimize:mapped") + compileOnly("ink.ptms.core:v11800:11800-minimize:universal") + compileOnly("ink.ptms.core:v11701:11701:mapped") + compileOnly("ink.ptms.core:v11701:11701:universal") compileOnly("me.clip:placeholderapi:2.10.9") compileOnly(fileTree("libs")) } diff --git a/src/main/kotlin/me/arasple/mc/trhologram/util/Parser.kt b/src/main/kotlin/me/arasple/mc/trhologram/util/Parser.kt index 870da4d..9d2354e 100644 --- a/src/main/kotlin/me/arasple/mc/trhologram/util/Parser.kt +++ b/src/main/kotlin/me/arasple/mc/trhologram/util/Parser.kt @@ -27,7 +27,7 @@ fun String.parseLocation(): Location { } fun Location.parseString(): String { - val world = world.name + val world = world?.name val x = Coerce.format(x) val y = Coerce.format(y) val z = Coerce.format(z)