aboutsummaryrefslogtreecommitdiffhomepage
path: root/patch-remap/mache-vineflower-stripped/net/minecraft/world/inventory/PlayerEnderChestContainer.java.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patch-remap/mache-vineflower-stripped/net/minecraft/world/inventory/PlayerEnderChestContainer.java.patch')
-rw-r--r--patch-remap/mache-vineflower-stripped/net/minecraft/world/inventory/PlayerEnderChestContainer.java.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/patch-remap/mache-vineflower-stripped/net/minecraft/world/inventory/PlayerEnderChestContainer.java.patch b/patch-remap/mache-vineflower-stripped/net/minecraft/world/inventory/PlayerEnderChestContainer.java.patch
new file mode 100644
index 0000000000..e8a784f511
--- /dev/null
+++ b/patch-remap/mache-vineflower-stripped/net/minecraft/world/inventory/PlayerEnderChestContainer.java.patch
@@ -0,0 +1,25 @@
+--- a/net/minecraft/world/inventory/PlayerEnderChestContainer.java
++++ b/net/minecraft/world/inventory/PlayerEnderChestContainer.java
+@@ -7,13 +7,22 @@
+ import net.minecraft.world.entity.player.Player;
+ import net.minecraft.world.item.ItemStack;
+ import net.minecraft.world.level.block.entity.EnderChestBlockEntity;
++// CraftBukkit start
++import org.bukkit.Location;
++import org.bukkit.craftbukkit.util.CraftLocation;
++import org.bukkit.inventory.InventoryHolder;
++// CraftBukkit end
+
+ public class PlayerEnderChestContainer extends SimpleContainer {
+ @Nullable
+ private EnderChestBlockEntity activeChest;
++ // CraftBukkit start
++ private final Player owner;
+
+ public PlayerEnderChestContainer() {
+ super(27);
++ this.owner = owner;
++ // CraftBukkit end
+ }
+
+ public void setActiveChest(EnderChestBlockEntity enderChestBlockEntity) {