Compare commits

..

No commits in common. "7c79bb77e77cff540913540219bc04501313503c" and "9e199d677e21e6a8e4dae3a378474d5bbab203ad" have entirely different histories.

View File

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