Skip to content

Commit

Permalink
fix missing switches in 'block destroyed' event
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Apr 5, 2023
1 parent d5ec87d commit 222390b
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -43,6 +43,7 @@ public class BlockDestroyedByExplosionEvent extends BukkitScriptEvent implements

public BlockDestroyedByExplosionEvent() {
registerCouldMatcher("<block> destroyed by explosion");
registerSwitches("source_entity", "source_block");
}

public BlockExplodeEvent blockEvent;
Expand Down

0 comments on commit 222390b

Please sign in to comment.