From 6c8da2f4a0d893e898b996757d5549c7143c2557 Mon Sep 17 00:00:00 2001 From: Yvonne Schmidt Date: Fri, 18 Oct 2024 14:24:06 +0200 Subject: [PATCH] fixed crash when starting animation in selfhost --- .../pp/battleship/client/server/BattleshipSelfhostServer.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Projekte/battleship/client/src/main/java/pp/battleship/client/server/BattleshipSelfhostServer.java b/Projekte/battleship/client/src/main/java/pp/battleship/client/server/BattleshipSelfhostServer.java index 8541cf1..7552fed 100644 --- a/Projekte/battleship/client/src/main/java/pp/battleship/client/server/BattleshipSelfhostServer.java +++ b/Projekte/battleship/client/src/main/java/pp/battleship/client/server/BattleshipSelfhostServer.java @@ -18,6 +18,7 @@ import pp.battleship.BattleshipConfig; import pp.battleship.game.server.Player; import pp.battleship.game.server.ServerGameLogic; import pp.battleship.game.server.ServerSender; +import pp.battleship.message.client.AnimationFinishedMessage; import pp.battleship.message.client.ClientMessage; import pp.battleship.message.client.MapMessage; import pp.battleship.message.client.ShootMessage; @@ -115,6 +116,7 @@ public class BattleshipSelfhostServer implements MessageListener