Star sprite ring teleport can now be used in the wilderness up to level 20
This commit is contained in:
@@ -78,11 +78,6 @@ class ShootingStarPlugin : LoginListener, InteractionListener, TickListener, Com
|
|||||||
else -> {_ -> true}
|
else -> {_ -> true}
|
||||||
}
|
}
|
||||||
|
|
||||||
if(!condition.invoke(player) || player.skullManager.isWilderness){
|
|
||||||
sendDialogue(player, "Magical forces prevent your teleportation.")
|
|
||||||
return@on true
|
|
||||||
}
|
|
||||||
|
|
||||||
val shouldWarn = when(star.location){
|
val shouldWarn = when(star.location){
|
||||||
"North Edgeville mining site",
|
"North Edgeville mining site",
|
||||||
"Southern wilderness mine",
|
"Southern wilderness mine",
|
||||||
|
|||||||
Reference in New Issue
Block a user