Skip to content
This repository has been archived by the owner on Jan 12, 2025. It is now read-only.

Commit

Permalink
Update DELIVER_PRESENT.java
Browse files Browse the repository at this point in the history
  • Loading branch information
Quackster committed Dec 13, 2021
1 parent 0479a86 commit 42f6bba
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 42f6bba

Please sign in to comment.