diff --git a/src/org/apollo/game/model/Player.java b/src/org/apollo/game/model/Player.java index abe18bc0..be623450 100644 --- a/src/org/apollo/game/model/Player.java +++ b/src/org/apollo/game/model/Player.java @@ -581,7 +581,7 @@ public final class Player extends Mob { * * @return A flag indicating if the player is new. */ - public boolean isNewPlayer() { + public boolean isNew() { return newPlayer; } diff --git a/src/org/apollo/io/player/impl/BinaryPlayerLoader.java b/src/org/apollo/io/player/impl/BinaryPlayerLoader.java index 6c800da2..1213fd6a 100644 --- a/src/org/apollo/io/player/impl/BinaryPlayerLoader.java +++ b/src/org/apollo/io/player/impl/BinaryPlayerLoader.java @@ -56,7 +56,7 @@ public final class BinaryPlayerLoader implements PlayerLoader { if (!name.equalsIgnoreCase(credentials.getUsername()) || !SCryptUtil.check(credentials.getPassword(), pass)) { return new PlayerLoaderResponse(LoginConstants.STATUS_INVALID_CREDENTIALS); } - + // set the credentials password to the scrypted one credentials.setPassword(pass); diff --git a/src/org/apollo/io/player/impl/BinaryPlayerSaver.java b/src/org/apollo/io/player/impl/BinaryPlayerSaver.java index c74a94e6..dbc94c0f 100644 --- a/src/org/apollo/io/player/impl/BinaryPlayerSaver.java +++ b/src/org/apollo/io/player/impl/BinaryPlayerSaver.java @@ -49,7 +49,7 @@ public final class BinaryPlayerSaver implements PlayerSaver { out.writeByte(position.getHeight()); // write appearance - out.writeBoolean(player.isNewPlayer()); + out.writeBoolean(player.isNew()); Appearance appearance = player.getAppearance(); out.writeByte(appearance.getGender().toInteger()); int[] style = appearance.getStyle();