Update TamagotchiService.java
This commit is contained in:
parent
c123ff8ac0
commit
37e31c67b8
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ public class TamagotchiService {
|
|||
if (device == null) {
|
||||
return;
|
||||
}
|
||||
String defunctMessage = String.format("Tamagotchi %s of %s passed away", device.getOwner(), device.getOwner());
|
||||
String defunctMessage = String.format("Tamagotchi %s of %s passed away", device.getId(), device.getOwner());
|
||||
DefunctNotification defunctNotification = new DefunctNotification(defunctMessage);
|
||||
try {
|
||||
publisherService.publish(defunctNotification);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue