Skip to content

Commit eec700c

Browse files
author
Jan Kluka
committed
1.4
Added setBlocksToAir parameter into handleBlockBreak
1 parent db24bbb commit eec700c

File tree

1 file changed

+2
-1
lines changed
  • src/main/java/dev/drawethree/xprison/api/mines/model

1 file changed

+2
-1
lines changed

src/main/java/dev/drawethree/xprison/api/mines/model/Mine.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ public interface Mine {
113113
* Handles breaking of blocks inside a mine. This method should be called if there are some blocks in the mine that were mined / destroyed by enchant
114114
*
115115
* @param blocks list of blocks
116+
* @param setBlocksToAir set blocks to air
116117
*/
117-
void handleBlockBreak(List<Block> blocks);
118+
void handleBlockBreak(List<Block> blocks, boolean setBlocksToAir);
118119
}

0 commit comments

Comments
 (0)