diff options
author | sk89q <the.sk89q@gmail.com> | 2011-01-08 12:24:27 -0800 |
---|---|---|
committer | sk89q <the.sk89q@gmail.com> | 2011-01-08 12:24:27 -0800 |
commit | 373c958596dc5a142148637736dc751d346c6348 (patch) | |
tree | ea7430be6992873b595bad971d724523e760fdb0 | |
parent | 3e911e1f0d1e0a8d8a0af069614f989d702cc5c2 (diff) | |
download | bukkit-373c958596dc5a142148637736dc751d346c6348.tar bukkit-373c958596dc5a142148637736dc751d346c6348.tar.gz bukkit-373c958596dc5a142148637736dc751d346c6348.tar.lz bukkit-373c958596dc5a142148637736dc751d346c6348.tar.xz bukkit-373c958596dc5a142148637736dc751d346c6348.zip |
Changed Block.setTypeID() to return a boolean indicating whether the block was changed (as provided by Minecraft).
-rw-r--r-- | src/main/java/org/bukkit/Block.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/org/bukkit/Block.java b/src/main/java/org/bukkit/Block.java index 7e8ec5d4..90d6523d 100644 --- a/src/main/java/org/bukkit/Block.java +++ b/src/main/java/org/bukkit/Block.java @@ -128,8 +128,9 @@ public interface Block { * Sets the type-ID of this block * * @param type Type-ID to change this block to + * @return whether the block was changed */ - void setTypeID(int type); + boolean setTypeID(int type); /** * Gets the face relation of this block compared to the given block<br /> |