diff --git a/Projekte/monopoly/model/src/main/java/pp/monopoly/game/server/Player.java b/Projekte/monopoly/model/src/main/java/pp/monopoly/game/server/Player.java index 4badf81..2ca9153 100644 --- a/Projekte/monopoly/model/src/main/java/pp/monopoly/game/server/Player.java +++ b/Projekte/monopoly/model/src/main/java/pp/monopoly/game/server/Player.java @@ -351,8 +351,8 @@ public class Player implements FieldVisitor{ int rent = field.calcRent(); field.getOwner().earnMoney(rent); pay(rent); - sendRentNotification("ReceivedRent", field.getOwner(), rent); - sendRentNotification("rent", this, rent); + sendRentNotification("ReceivedRent", this, rent); + sendRentNotification("rent", field.getOwner(), rent); } return null; } @@ -369,8 +369,8 @@ public class Player implements FieldVisitor{ int rent = rollResult.calcTotal()*factor; field.getOwner().earnMoney(rent); pay(rent); - sendRentNotification("ReceivedRent", field.getOwner(), rent); - sendRentNotification("rent", this, rent); + sendRentNotification("ReceivedRent", this, rent); + sendRentNotification("rent", field.getOwner(), rent); } return null; } @@ -384,8 +384,8 @@ public class Player implements FieldVisitor{ field.getOwner().earnMoney(rent); pay(rent); - sendRentNotification("ReceivedRent", field.getOwner(), rent); - sendRentNotification("rent", this, rent); + sendRentNotification("ReceivedRent", this, rent); + sendRentNotification("rent", field.getOwner(), rent); } return null; }