Added prose package attachments to mails

This commit is contained in:
Light2
2014-06-04 23:17:39 +02:00
parent 1104d7f690
commit 34aca38bc4
8 changed files with 73 additions and 26 deletions
+5 -5
View File
@@ -690,7 +690,7 @@ public class PlayerCity implements Serializable {
attachment.positionY = 0;
attachment.positionZ = citizenObject.getPosition().z;
attachments.add(attachment);
actorMail.setAttachments(attachments);
actorMail.setWaypointAttachments(attachments);
NGECore.getInstance().chatService.storePersistentMessage(actorMail);
if (newCitizen.getClient()!=null)
@@ -722,7 +722,7 @@ public class PlayerCity implements Serializable {
attachment.positionY = 0;
attachment.positionZ = citizen.getPosition().z;
attachments.add(attachment);
actorMail.setAttachments(attachments);
actorMail.setWaypointAttachments(attachments);
NGECore.getInstance().chatService.storePersistentMessage(actorMail);
@@ -755,7 +755,7 @@ public class PlayerCity implements Serializable {
attachment.positionY = 0;
attachment.positionZ = citizenObject.getPosition().z;
attachments.add(attachment);
actorMail.setAttachments(attachments);
actorMail.setWaypointAttachments(attachments);
NGECore.getInstance().chatService.storePersistentMessage(actorMail);
if (newCitizen.getClient()!=null)
@@ -790,7 +790,7 @@ public class PlayerCity implements Serializable {
attachment.positionY = 0;
attachment.positionZ = citizenObject.getPosition().z;
attachments.add(attachment);
actorMail.setAttachments(attachments);
actorMail.setWaypointAttachments(attachments);
NGECore.getInstance().chatService.storePersistentMessage(actorMail);
@@ -823,7 +823,7 @@ public class PlayerCity implements Serializable {
attachment.positionY = 0;
attachment.positionZ = citizenObject.getPosition().z;
attachments.add(attachment);
actorMail.setAttachments(attachments);
actorMail.setWaypointAttachments(attachments);
NGECore.getInstance().chatService.storePersistentMessage(actorMail);
}