Star sprite ring teleport can now be used in the wilderness up to level 20

This commit is contained in:
Player Name 2023-08-06 11:03:47 +00:00 committed by Ryan
parent b34e99d156
commit 6cf0e03177

View file

@ -78,11 +78,6 @@ class ShootingStarPlugin : LoginListener, InteractionListener, TickListener, Com
else -> {_ -> true}
}
if(!condition.invoke(player) || player.skullManager.isWilderness){
sendDialogue(player, "Magical forces prevent your teleportation.")
return@on true
}
val shouldWarn = when(star.location){
"North Edgeville mining site",
"Southern wilderness mine",