diff options
author | T00thpick1 <t00thpick1dirko@gmail.com> | 2013-07-18 18:37:20 -0400 |
---|---|---|
committer | Nate Mortensen <nate.richard.mortensen@gmail.com> | 2013-08-07 13:42:23 -0600 |
commit | ea39ca187bb369f5e2872d9ba8c670449d901c58 (patch) | |
tree | 7489f317e2eb025c4fef99aae149b4484ca0d1d2 /src/main/java/org/bukkit | |
parent | 92f111cfed5b067165a7ae147f2026884057801a (diff) | |
download | craftbukkit-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.java | 4 |
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 |