if (cmd[0].equals("sz")) {
if (player.isLocked() || player.getControlerManager().getControler() != null) {
player.getPackets().sendGameMessage("You cannot tele anywhere from here.");
return true;}
{
player.setNextWorldTile(new WorldTile(2667, 10396, 0));
return true;}
}
}
}
my error is closing the file. thats my problem i always get the error when i try to end the statement and close the file