mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-14 19:55:52 -07:00
Update to Minecraft 1.9
This commit is contained in:
@@ -1,10 +1,11 @@
|
||||
--- a/net/minecraft/server/InventoryLargeChest.java
|
||||
+++ b/net/minecraft/server/InventoryLargeChest.java
|
||||
@@ -1,11 +1,55 @@
|
||||
@@ -1,11 +1,61 @@
|
||||
package net.minecraft.server;
|
||||
|
||||
+// CraftBukkit start
|
||||
+import java.util.List;
|
||||
+import org.bukkit.Location;
|
||||
+
|
||||
+import org.bukkit.craftbukkit.entity.CraftHumanEntity;
|
||||
+import org.bukkit.entity.HumanEntity;
|
||||
@@ -51,12 +52,17 @@
|
||||
+ this.left.setMaxStackSize(size);
|
||||
+ this.right.setMaxStackSize(size);
|
||||
+ }
|
||||
+
|
||||
+ @Override
|
||||
+ public Location getLocation() {
|
||||
+ return left.getLocation(); // TODO: right?
|
||||
+ }
|
||||
+ // CraftBukkit end
|
||||
+
|
||||
public InventoryLargeChest(String s, ITileInventory itileinventory, ITileInventory itileinventory1) {
|
||||
this.a = s;
|
||||
if (itileinventory == null) {
|
||||
@@ -68,7 +112,7 @@
|
||||
@@ -68,7 +118,7 @@
|
||||
}
|
||||
|
||||
public int getMaxStackSize() {
|
||||
|
Reference in New Issue
Block a user