From 42f6bbacbd444393828cadd6238a68c2b993ebae Mon Sep 17 00:00:00 2001 From: Alex Date: Tue, 14 Dec 2021 07:25:44 +1000 Subject: [PATCH] Update DELIVER_PRESENT.java --- .../kepler/messages/outgoing/catalogue/DELIVER_PRESENT.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Kepler-Server/src/main/java/org/alexdev/kepler/messages/outgoing/catalogue/DELIVER_PRESENT.java b/Kepler-Server/src/main/java/org/alexdev/kepler/messages/outgoing/catalogue/DELIVER_PRESENT.java index 7d2b1626..d60b0619 100644 --- a/Kepler-Server/src/main/java/org/alexdev/kepler/messages/outgoing/catalogue/DELIVER_PRESENT.java +++ b/Kepler-Server/src/main/java/org/alexdev/kepler/messages/outgoing/catalogue/DELIVER_PRESENT.java @@ -19,10 +19,10 @@ public DELIVER_PRESENT(String sprite, String getCustomData, String colour) { public void compose(NettyResponse response) { response.writeDelimeter(this.sprite, (char) 13); - if (this.sprite.equalsIgnoreCase("film")) { - response.writeDelimeter("film", (char) 13); - } else { + if (this.sprite.equalsIgnoreCase("poster")) { response.writeDelimeter(this.sprite + " " + this.customData, (char) 13); + } else { + response.writeDelimeter(this.sprite, (char) 13); } response.write(this.colour);