mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-07-06 08:40:03 +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 player The Player.
|
||||||
* @param session The {@link GameSession} of the Player.
|
* @param session The {@link GameSession} of the Player.
|
||||||
* @param reconnecting The reconnecting flag.
|
|
||||||
* @return A {@link RegistrationStatus}.
|
* @return A {@link RegistrationStatus}.
|
||||||
*/
|
*/
|
||||||
public RegistrationStatus registerPlayer(Player player, GameSession session, boolean reconnecting) {
|
public RegistrationStatus registerPlayer(Player player, GameSession session) {
|
||||||
synchronized (this) {
|
synchronized (this) {
|
||||||
RegistrationStatus status = World.getWorld().register(player);
|
RegistrationStatus status = World.getWorld().register(player);
|
||||||
if (status == RegistrationStatus.OK) {
|
if (status == RegistrationStatus.OK) {
|
||||||
player.setSession(session, reconnecting);
|
player.setSession(session);
|
||||||
}
|
}
|
||||||
|
|
||||||
return status;
|
return status;
|
||||||
|
|||||||
Reference in New Issue
Block a user