Update to Minecraft 1.9

This commit is contained in:
md_5
2016-03-01 08:32:46 +11:00
parent e1ebe524a7
commit aa008dff0f
305 changed files with 6684 additions and 6105 deletions

View File

@@ -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() {