mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-12-06 03:07:19 +00:00
Resolve compilation error.
This commit is contained in:
1 parent
4e99d16520
commit
7e8deb62f1
1 file changed
+2
-3
@@ -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