From 63605a84171b989d89700f479d7ddccf4b919dd3 Mon Sep 17 00:00:00 2001 From: sk89q Date: Sat, 5 Jul 2014 16:40:07 -0700 Subject: [PATCH] [Bukkit] Added shim method for setBlock(..., foundation.Block, ...). --- .../java/com/sk89q/worldedit/bukkit/BukkitWorld.java | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/bukkit/java/com/sk89q/worldedit/bukkit/BukkitWorld.java b/src/bukkit/java/com/sk89q/worldedit/bukkit/BukkitWorld.java index 3f32fefda..4c73526d3 100644 --- a/src/bukkit/java/com/sk89q/worldedit/bukkit/BukkitWorld.java +++ b/src/bukkit/java/com/sk89q/worldedit/bukkit/BukkitWorld.java @@ -1259,4 +1259,13 @@ public class BukkitWorld extends LocalWorld { return super.setBlock(pt, block, notifyAdjacent); } + + /** + * @deprecated Use {@link #setBlock(Vector, BaseBlock, boolean)} + */ + @Deprecated + public boolean setBlock(Vector pt, com.sk89q.worldedit.foundation.Block block, boolean notifyAdjacent) throws WorldEditException { + return setBlock(pt, (BaseBlock) block, notifyAdjacent); + } + }