mirror of
https://github.com/DRE2N/DungeonsXL.git
synced 2024-11-09 20:31:28 +01:00
Added loot inventory name
This commit is contained in:
parent
5adac9a10d
commit
e8fa5b2ee7
@ -10,27 +10,27 @@ import org.bukkit.inventory.ItemStack;
|
||||
|
||||
public class DLootInventory {
|
||||
public static CopyOnWriteArrayList<DLootInventory> LootInventorys=new CopyOnWriteArrayList<DLootInventory>();
|
||||
|
||||
|
||||
public Inventory inventory;
|
||||
public InventoryView inventoryView;
|
||||
public Player player;
|
||||
|
||||
public long time;
|
||||
|
||||
|
||||
public DLootInventory(Player player, ItemStack[] istacks){
|
||||
LootInventorys.add(this);
|
||||
|
||||
this.inventory = Bukkit.createInventory(player, 54);
|
||||
|
||||
this.inventory = Bukkit.createInventory(player, 54, "Belohnungen");
|
||||
for(ItemStack istack:istacks){
|
||||
if(istack!=null){
|
||||
this.inventory.addItem(istack);
|
||||
}
|
||||
}
|
||||
this.player=player;
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
public static DLootInventory get(Player player) {
|
||||
for(DLootInventory inventory:LootInventorys){
|
||||
|
Loading…
Reference in New Issue
Block a user