// Check if player are changing class
if (player.isLocked())
{
_log.severe(" Player " + player.getName() + " tried to restart during class change.");
sendPacket(RestartResponse.valueOf(false));
return;
}
by class if it makes it by class and if i understood well if they make it but fast clicking then
// Fix against exploit anti-target
if (player.isCastingNow())
{
player.abortCast();
player.sendPacket(new ActionFailed());
}
at requestrestart.java