Update to Minecraft 1.9.2

By: Thinkofname <thinkofdeath@spigotmc.org>
This commit is contained in:
CraftBukkit/Spigot
2016-03-30 20:50:59 +01:00
parent 8ea7bfcb8c
commit 094f30f26d
30 changed files with 126 additions and 182 deletions

View File

@@ -11,7 +11,7 @@
+import org.bukkit.entity.HumanEntity;
+// CraftBukkit end
+
public class TileEntityDispenser extends TileEntityContainer implements IInventory {
public class TileEntityDispenser extends TileEntityLootable implements IInventory {
private static final Random f = new Random();
private ItemStack[] items = new ItemStack[9];
@@ -45,7 +45,7 @@
public TileEntityDispenser() {}
public int getSize() {
@@ -38,6 +70,7 @@
@@ -42,6 +74,7 @@
for (int k = 0; k < this.items.length; ++k) {
if (this.items[k] != null && TileEntityDispenser.f.nextInt(j++) == 0) {
@@ -53,7 +53,7 @@
i = k;
}
}
@@ -120,7 +153,7 @@
@@ -130,7 +163,7 @@
}
public int getMaxStackSize() {