Skip to content

Commit

Permalink
Adding LootResponse for LootUtil
Browse files Browse the repository at this point in the history
  • Loading branch information
UltraFaceguy committed May 25, 2020
1 parent 88b0f9a commit aafaef7
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions src/main/java/info/faceland/loot/data/LootResponse.java
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;
}
}

0 comments on commit aafaef7

Please sign in to comment.