Skip to content

Commit

Permalink
Update SearchMessage.java
Browse files Browse the repository at this point in the history
  • Loading branch information
nicho92 authored Sep 14, 2023
1 parent 68fefab commit 06e2f55
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions src/main/java/org/magic/api/beans/messages/SearchMessage.java
Original file line number Diff line number Diff line change
@@ -1,15 +1,23 @@
package org.magic.api.beans.messages;

import org.magic.api.beans.abstracts.AbstractMessage;
import org.magic.api.interfaces.MTGProduct;
import org.magic.game.model.Player;

public class SearchMessage extends AbstractMessage {

private static final long serialVersionUID = 1L;

protected SearchMessage(Player p) {
private MTGProduct item;

protected SearchMessage(Player p, MTGProduct item) {
super(p);
// TODO Auto-generated constructor stub
this.item=item;
}

public MTGProduct getItem() {
return item;
}


}

0 comments on commit 06e2f55

Please sign in to comment.