Originally Posted by
Pastaway
mine is (c.inCw())
im just not too sure where exactly my teleporting restrictions are v_v
Check your PlayerAssistant class and CastleWars class, add
Code:
if (c.inCw)) {
c.sendMessage("You can't teleport in the middle of a Castle Wars game!")
return;
}
There you go.
------------
Open PlayerAssistant and search for
you should see
Code:
if(c.inWild() && c.wildLevel > Config.NO_TELEPORT_WILD_LEVEL) {
c.sendMessage("You can't teleport above level "+Config.NO_TELEPORT_WILD_LEVEL+" in the wilderness.");
return;
}
Above or under that, add
Code:
if (c.inCw)) {
c.sendMessage("You can't teleport in the middle of a Castle Wars game!")
return;
}