mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-19 06:13:49 -07:00
Update to Minecraft 1.11
This commit is contained in:
@@ -1,14 +1,13 @@
|
||||
--- a/net/minecraft/server/ContainerChest.java
|
||||
+++ b/net/minecraft/server/ContainerChest.java
|
||||
@@ -1,11 +1,38 @@
|
||||
@@ -1,9 +1,37 @@
|
||||
package net.minecraft.server;
|
||||
|
||||
import javax.annotation.Nullable;
|
||||
+// CraftBukkit start
|
||||
+import org.bukkit.craftbukkit.inventory.CraftInventory;
|
||||
+import org.bukkit.craftbukkit.inventory.CraftInventoryView;
|
||||
+// CraftBukkit end
|
||||
|
||||
+
|
||||
public class ContainerChest extends Container {
|
||||
|
||||
private final IInventory container;
|
||||
@@ -39,7 +38,7 @@
|
||||
|
||||
public ContainerChest(IInventory iinventory, IInventory iinventory1, EntityHuman entityhuman) {
|
||||
this.container = iinventory1;
|
||||
@@ -13,6 +40,11 @@
|
||||
@@ -11,6 +39,11 @@
|
||||
iinventory1.startOpen(entityhuman);
|
||||
int i = (this.f - 4) * 18;
|
||||
|
||||
@@ -51,7 +50,7 @@
|
||||
int j;
|
||||
int k;
|
||||
|
||||
@@ -35,6 +67,7 @@
|
||||
@@ -33,6 +66,7 @@
|
||||
}
|
||||
|
||||
public boolean a(EntityHuman entityhuman) {
|
||||
|
Reference in New Issue
Block a user