mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-10 10:17:38 +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,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…
Reference in New Issue
Block a user