From f5a7c143d26a6ff2b3d98e441f78012d396d8d12 Mon Sep 17 00:00:00 2001 From: rolleander Date: Wed, 1 May 2024 13:02:13 +0200 Subject: [PATCH] update --- .../com/broll/networklib/server/impl/DummyLobbyPlayer.java | 4 ++-- .../java/com/broll/networklib/server/impl/DummyPlayer.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/broll/networklib/server/impl/DummyLobbyPlayer.java b/src/main/java/com/broll/networklib/server/impl/DummyLobbyPlayer.java index 0403847..1b4f1e9 100644 --- a/src/main/java/com/broll/networklib/server/impl/DummyLobbyPlayer.java +++ b/src/main/java/com/broll/networklib/server/impl/DummyLobbyPlayer.java @@ -1,8 +1,8 @@ package com.broll.networklib.server.impl; public class DummyLobbyPlayer

extends LobbyPlayer

{ - public DummyLobbyPlayer() { - super(new DummyPlayer<>()); + public DummyLobbyPlayer(int id) { + super(new DummyPlayer<>(id)); } } diff --git a/src/main/java/com/broll/networklib/server/impl/DummyPlayer.java b/src/main/java/com/broll/networklib/server/impl/DummyPlayer.java index 0bc2853..7ce024a 100644 --- a/src/main/java/com/broll/networklib/server/impl/DummyPlayer.java +++ b/src/main/java/com/broll/networklib/server/impl/DummyPlayer.java @@ -3,8 +3,8 @@ import com.broll.networklib.server.NetworkConnection; public class DummyPlayer

extends Player

{ - public DummyPlayer() { - super(-1, null, null); + public DummyPlayer(int id) { + super(id, null, null); } @Override