mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-28 07:20:24 +01:00
Changed Block.setTypeID() to return a boolean indicating whether the block was changed (as provided by Minecraft).
By: sk89q <the.sk89q@gmail.com>
This commit is contained in:
parent
7a896ce200
commit
b94f401b3a
1 changed files with 2 additions and 1 deletions
|
@ -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 />
|
||||
|
|
Loading…
Reference in a new issue