From 4e375131d1d2289a5926bcf3cd0dd9b08c959d53 Mon Sep 17 00:00:00 2001 From: Johannes Schmelz Date: Mon, 2 Dec 2024 05:06:58 +0100 Subject: [PATCH] change property side --- .../client/src/main/java/pp/monopoly/client/gui/TradeMenu.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Projekte/monopoly/client/src/main/java/pp/monopoly/client/gui/TradeMenu.java b/Projekte/monopoly/client/src/main/java/pp/monopoly/client/gui/TradeMenu.java index 7efcae4..f69eeba 100644 --- a/Projekte/monopoly/client/src/main/java/pp/monopoly/client/gui/TradeMenu.java +++ b/Projekte/monopoly/client/src/main/java/pp/monopoly/client/gui/TradeMenu.java @@ -157,7 +157,7 @@ public class TradeMenu extends Dialog { .getBoardManager() .getPropertyFields(app.getGameLogic() .getPlayerHandler() - .getPlayerById(isLeft ? tradeHandler.getReceiver().getId() : tradeHandler.getSender().getId()) + .getPlayerById(isLeft ? tradeHandler.getSender().getId() : tradeHandler.getReceiver().getId()) .getProperties()); }