fixed Miete popup

This commit is contained in:
Johannes Schmelz 2024-12-03 12:15:00 +01:00
parent 1f37eb9962
commit 8d638158e4

View File

@ -347,8 +347,8 @@ public class Player implements FieldVisitor<Void>{
int rent = field.calcRent();
field.getOwner().earnMoney(rent);
pay(rent);
sendRentNotification("rent", field.getOwner(), rent);
sendRentNotification("ReceivedRent", this, rent);
sendRentNotification("ReceivedRent", field.getOwner(), rent);
sendRentNotification("rent", this, rent);
}
return null;
}
@ -365,8 +365,8 @@ public class Player implements FieldVisitor<Void>{
int rent = rollResult.calcTotal()*factor;
field.getOwner().earnMoney(rent);
pay(rent);
sendRentNotification("rent", field.getOwner(), rent);
sendRentNotification("ReceivedRent", this, rent);
sendRentNotification("ReceivedRent", field.getOwner(), rent);
sendRentNotification("rent", this, rent);
}
return null;
}
@ -380,8 +380,8 @@ public class Player implements FieldVisitor<Void>{
field.getOwner().earnMoney(rent);
pay(rent);
sendRentNotification("rent", field.getOwner(), rent);
sendRentNotification("ReceivedRent", this, rent);
sendRentNotification("ReceivedRent", field.getOwner(), rent);
sendRentNotification("rent", this, rent);
}
return null;
}