diff --git a/Server/src/main/content/global/activity/shootingstar/ShootingStarPlugin.kt b/Server/src/main/content/global/activity/shootingstar/ShootingStarPlugin.kt index 2adf770cf..cf141ca56 100644 --- a/Server/src/main/content/global/activity/shootingstar/ShootingStarPlugin.kt +++ b/Server/src/main/content/global/activity/shootingstar/ShootingStarPlugin.kt @@ -78,6 +78,11 @@ class ShootingStarPlugin : LoginListener, InteractionListener, TickListener, Com else -> {_ -> true} } + if(!condition.invoke(player)){ + sendDialogue(player, "Magical forces prevent your teleportation.") + return@on true + } + val shouldWarn = when(star.location){ "North Edgeville mining site", "Southern wilderness mine",