summaryrefslogtreecommitdiffstats
path: root/src/main/java/org/bukkit
diff options
context:
space:
mode:
authorT00thpick1 <t00thpick1dirko@gmail.com>2013-07-18 18:37:20 -0400
committerNate Mortensen <nate.richard.mortensen@gmail.com>2013-08-07 13:42:23 -0600
commitea39ca187bb369f5e2872d9ba8c670449d901c58 (patch)
tree7489f317e2eb025c4fef99aae149b4484ca0d1d2 /src/main/java/org/bukkit
parent92f111cfed5b067165a7ae147f2026884057801a (diff)
downloadcraftbukkit-ea39ca187bb369f5e2872d9ba8c670449d901c58.tar
craftbukkit-ea39ca187bb369f5e2872d9ba8c670449d901c58.tar.gz
craftbukkit-ea39ca187bb369f5e2872d9ba8c670449d901c58.tar.lz
craftbukkit-ea39ca187bb369f5e2872d9ba8c670449d901c58.tar.xz
craftbukkit-ea39ca187bb369f5e2872d9ba8c670449d901c58.zip
Return instance of CraftInventoryBeacon for Beacons. Fixes BUKKIT-4521
Diffstat (limited to 'src/main/java/org/bukkit')
-rw-r--r--src/main/java/org/bukkit/craftbukkit/block/CraftBeacon.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/org/bukkit/craftbukkit/block/CraftBeacon.java b/src/main/java/org/bukkit/craftbukkit/block/CraftBeacon.java
index 178f7eb0..fc984639 100644
--- a/src/main/java/org/bukkit/craftbukkit/block/CraftBeacon.java
+++ b/src/main/java/org/bukkit/craftbukkit/block/CraftBeacon.java
@@ -5,7 +5,7 @@ import net.minecraft.server.TileEntityBeacon;
import org.bukkit.block.Block;
import org.bukkit.block.Beacon;
import org.bukkit.craftbukkit.CraftWorld;
-import org.bukkit.craftbukkit.inventory.CraftInventory;
+import org.bukkit.craftbukkit.inventory.CraftInventoryBeacon;
import org.bukkit.inventory.Inventory;
public class CraftBeacon extends CraftBlockState implements Beacon {
@@ -20,7 +20,7 @@ public class CraftBeacon extends CraftBlockState implements Beacon {
}
public Inventory getInventory() {
- return new CraftInventory(beacon);
+ return new CraftInventoryBeacon(beacon);
}
@Override