mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-24 09:16:06 +01:00
[Bleeding] DoubleChestInventory.getHolder() no longer returns null. Addresses BUKKIT-995
By: Celtic Minstrel <celtic.minstrel.ca@some.place>
This commit is contained in:
parent
5a2b483937
commit
4113afbd7c
1 changed files with 6 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue