-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
88b0f9a
commit aafaef7
Showing
1 changed file
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
package info.faceland.loot.data; | ||
|
||
import org.bukkit.inventory.ItemStack; | ||
|
||
public class LootResponse { | ||
|
||
private final ItemStack itemStack; | ||
private final boolean valuable; | ||
|
||
public LootResponse(ItemStack itemStack, boolean valuable) { | ||
this.valuable = valuable; | ||
this.itemStack = itemStack; | ||
} | ||
|
||
public ItemStack getItemStack() { | ||
return itemStack; | ||
} | ||
|
||
public boolean isValuable() { | ||
return valuable; | ||
} | ||
} |