13
0
geforkt von Mirrors/Paper

Update Upstream

Dieser Commit ist enthalten in:
Aikar 2016-11-18 23:58:56 -05:00
Ursprung 8f3325047c
Commit 7d73fa7ae0
5 geänderte Dateien mit 20 neuen und 17 gelöschten Zeilen

Datei anzeigen

@ -8,7 +8,7 @@ diff --git a/src/main/java/org/bukkit/entity/Entity.java b/src/main/java/org/buk
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644 index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
--- a/src/main/java/org/bukkit/entity/Entity.java --- a/src/main/java/org/bukkit/entity/Entity.java
+++ b/src/main/java/org/bukkit/entity/Entity.java +++ b/src/main/java/org/bukkit/entity/Entity.java
@@ -0,0 +0,0 @@ public interface Entity extends Metadatable, CommandSender { @@ -0,0 +0,0 @@ public interface Entity extends Metadatable, CommandSender, Nameable {
Spigot spigot(); Spigot spigot();
// Spigot End // Spigot End

Datei anzeigen

@ -301,6 +301,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
@@ -0,0 +0,0 @@ @@ -0,0 +0,0 @@
package org.bukkit.block; package org.bukkit.block;
import org.bukkit.Nameable;
+import com.destroystokyo.paper.loottable.LootableInventory; // Paper +import com.destroystokyo.paper.loottable.LootableInventory; // Paper
import org.bukkit.inventory.Inventory; import org.bukkit.inventory.Inventory;
import org.bukkit.inventory.InventoryHolder; import org.bukkit.inventory.InventoryHolder;
@ -308,8 +309,8 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
/** /**
* Represents a chest. * Represents a chest.
*/ */
-public interface Chest extends BlockState, InventoryHolder, Lockable { -public interface Chest extends BlockState, InventoryHolder, Lockable, Nameable {
+public interface Chest extends BlockState, InventoryHolder, Lockable, LootableInventory { // Paper +public interface Chest extends BlockState, InventoryHolder, Lockable, Nameable, LootableInventory { // Paper
/** /**
* Returns the chest's inventory. If this is a double chest, it returns * Returns the chest's inventory. If this is a double chest, it returns
@ -320,6 +321,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
@@ -0,0 +0,0 @@ @@ -0,0 +0,0 @@
package org.bukkit.block; package org.bukkit.block;
import org.bukkit.Nameable;
+import com.destroystokyo.paper.loottable.LootableInventory; // Paper +import com.destroystokyo.paper.loottable.LootableInventory; // Paper
import org.bukkit.inventory.InventoryHolder; import org.bukkit.inventory.InventoryHolder;
import org.bukkit.projectiles.BlockProjectileSource; import org.bukkit.projectiles.BlockProjectileSource;
@ -327,8 +329,8 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
/** /**
* Represents a dispenser. * Represents a dispenser.
*/ */
-public interface Dispenser extends BlockState, InventoryHolder, Lockable { -public interface Dispenser extends BlockState, InventoryHolder, Lockable, Nameable {
+public interface Dispenser extends BlockState, InventoryHolder, Lockable, LootableInventory { // Paper +public interface Dispenser extends BlockState, InventoryHolder, Lockable, Nameable, LootableInventory { // Paper
/** /**
* Gets the BlockProjectileSource object for this dispenser. * Gets the BlockProjectileSource object for this dispenser.
@ -339,14 +341,15 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
@@ -0,0 +0,0 @@ @@ -0,0 +0,0 @@
package org.bukkit.block; package org.bukkit.block;
import org.bukkit.Nameable;
+import com.destroystokyo.paper.loottable.LootableInventory; // Paper +import com.destroystokyo.paper.loottable.LootableInventory; // Paper
import org.bukkit.inventory.InventoryHolder; import org.bukkit.inventory.InventoryHolder;
/** /**
* Represents a hopper. * Represents a hopper.
*/ */
-public interface Hopper extends BlockState, InventoryHolder, Lockable { -public interface Hopper extends BlockState, InventoryHolder, Lockable, Nameable { }
+public interface Hopper extends BlockState, InventoryHolder, Lockable, LootableInventory { // Paper +public interface Hopper extends BlockState, InventoryHolder, Lockable, Nameable, LootableInventory { // Paper
+
} +}
-- --

Datei anzeigen

@ -667,8 +667,8 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
import org.bukkit.craftbukkit.inventory.CraftInventoryDoubleChest; import org.bukkit.craftbukkit.inventory.CraftInventoryDoubleChest;
import org.bukkit.inventory.Inventory; import org.bukkit.inventory.Inventory;
-public class CraftChest extends CraftContainer implements Chest { -public class CraftChest extends CraftLootable implements Chest {
+public class CraftChest extends CraftContainer implements Chest, CraftLootableBlockInventory { // Paper +public class CraftChest extends CraftLootable implements Chest, CraftLootableBlockInventory { // Paper
private final CraftWorld world; private final CraftWorld world;
private final TileEntityChest chest; private final TileEntityChest chest;
@ -687,8 +687,8 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
import org.bukkit.inventory.Inventory; import org.bukkit.inventory.Inventory;
import org.bukkit.projectiles.BlockProjectileSource; import org.bukkit.projectiles.BlockProjectileSource;
-public class CraftDispenser extends CraftContainer implements Dispenser { -public class CraftDispenser extends CraftLootable implements Dispenser {
+public class CraftDispenser extends CraftContainer implements Dispenser, CraftLootableBlockInventory { // Paper +public class CraftDispenser extends CraftLootable implements Dispenser, CraftLootableBlockInventory { // Paper
private final CraftWorld world; private final CraftWorld world;
private final TileEntityDispenser dispenser; private final TileEntityDispenser dispenser;
@ -707,8 +707,8 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
import org.bukkit.craftbukkit.inventory.CraftInventory; import org.bukkit.craftbukkit.inventory.CraftInventory;
import org.bukkit.inventory.Inventory; import org.bukkit.inventory.Inventory;
-public class CraftHopper extends CraftContainer implements Hopper { -public class CraftHopper extends CraftLootable implements Hopper {
+public class CraftHopper extends CraftContainer implements Hopper, CraftLootableBlockInventory { // Paper +public class CraftHopper extends CraftLootable implements Hopper, CraftLootableBlockInventory { // Paper
private final TileEntityHopper hopper; private final TileEntityHopper hopper;
public CraftHopper(final Block block) { public CraftHopper(final Block block) {

@ -1 +1 @@
Subproject commit be7be5128d751e5c2f266b02f71b18404a0c37d7 Subproject commit 22a06ed73abb6076daa7b1d32643a6f71799cac8

@ -1 +1 @@
Subproject commit f15e07b1a9a4aedbcb77cb7776f168adcfebfa7e Subproject commit ead445ec995e66378957ed400f1b4c698febfb9f