mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-07-03 00:38:21 +00:00
Resolve compilation error.
This commit is contained in:
@@ -152,14 +152,13 @@ public final class GameService extends Service {
|
||||
*
|
||||
* @param player The Player.
|
||||
* @param session The {@link GameSession} of the Player.
|
||||
* @param reconnecting The reconnecting flag.
|
||||
* @return A {@link RegistrationStatus}.
|
||||
*/
|
||||
public RegistrationStatus registerPlayer(Player player, GameSession session, boolean reconnecting) {
|
||||
public RegistrationStatus registerPlayer(Player player, GameSession session) {
|
||||
synchronized (this) {
|
||||
RegistrationStatus status = World.getWorld().register(player);
|
||||
if (status == RegistrationStatus.OK) {
|
||||
player.setSession(session, reconnecting);
|
||||
player.setSession(session);
|
||||
}
|
||||
|
||||
return status;
|
||||
|
||||
Reference in New Issue
Block a user