mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2025-12-11 09:00:23 -07:00
Star sprite ring teleport can now be used in the wilderness up to level 20
This commit is contained in:
parent
b34e99d156
commit
6cf0e03177
1 changed files with 0 additions and 5 deletions
|
|
@ -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",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue