Added loot inventory name

This commit is contained in:
Grafe 2012-12-27 16:51:23 +01:00
parent 5adac9a10d
commit e8fa5b2ee7

View File

@ -20,7 +20,7 @@ public class DLootInventory {
public DLootInventory(Player player, ItemStack[] istacks){ public DLootInventory(Player player, ItemStack[] istacks){
LootInventorys.add(this); LootInventorys.add(this);
this.inventory = Bukkit.createInventory(player, 54); this.inventory = Bukkit.createInventory(player, 54, "Belohnungen");
for(ItemStack istack:istacks){ for(ItemStack istack:istacks){
if(istack!=null){ if(istack!=null){
this.inventory.addItem(istack); this.inventory.addItem(istack);