forked from 2009Scape/Server
Don't auto admin everyone
This commit is contained in:
parent
4a20b0ae1e
commit
80a5f8b61a
2 changed files with 0 additions and 17 deletions
|
|
@ -84,8 +84,6 @@ public final class LoginConfiguration {
|
|||
*/
|
||||
public static void sendLobbyScreen(Player player) {
|
||||
int random = RandomFunction.getRandom(50);
|
||||
if(player.getUsername().equalsIgnoreCase("ethan"))
|
||||
player.getDetails().setRights(Rights.ADMINISTRATOR);
|
||||
|
||||
Repository.getLobbyPlayers().add(player);
|
||||
player.getPacketDispatch().sendString(getLastLogin(player), 378, 116);
|
||||
|
|
|
|||
|
|
@ -56,21 +56,6 @@ public final class LoginValidationPlugin implements Plugin<Player> {
|
|||
if (GameWorld.getSettings().isDevMode()) {
|
||||
player.toggleDebug();
|
||||
}
|
||||
// if (player.getUsername().equalsIgnoreCase("Ethan")) {
|
||||
player.getDetails().setRights(Rights.ADMINISTRATOR);
|
||||
// return this;
|
||||
// }
|
||||
TutorialSession.extend(player);
|
||||
TutorialSession.getExtension(player).setStage(TutorialSession.MAX_STAGE);
|
||||
if (!TutorialSession.getExtension(player).finished()) {
|
||||
GameWorld.submit(new Pulse(1, player) {
|
||||
@Override
|
||||
public boolean pulse() {
|
||||
TutorialSession.getExtension(player).init();
|
||||
return true;
|
||||
}
|
||||
});
|
||||
}
|
||||
if (player.getAttribute("fc_wave", -1) > -1) {
|
||||
ActivityManager.start(player, "fight caves", true);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue