[Bleeding] DoubleChestInventory.getHolder() no longer returns null. Addresses BUKKIT-995
This commit is contained in:
committed by
EvilSeph
parent
f27427ad19
commit
76cc488402
@@ -1,5 +1,6 @@
|
||||
package org.bukkit.craftbukkit.inventory;
|
||||
|
||||
import org.bukkit.block.DoubleChest;
|
||||
import org.bukkit.inventory.DoubleChestInventory;
|
||||
import org.bukkit.inventory.Inventory;
|
||||
import org.bukkit.inventory.ItemStack;
|
||||
@@ -50,4 +51,9 @@ public class CraftInventoryDoubleChest extends CraftInventory implements DoubleC
|
||||
right.setContents(rightItems);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public DoubleChest getHolder() {
|
||||
return new DoubleChest(this);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user