Permalink
Browse files

Fix missed key change

  • Loading branch information...
PseudoKnight committed Aug 9, 2018
1 parent be5dcd6 commit 02ce14054ab926d8017be27ce78679eeed1bca72
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/java/com/laytonsmith/core/events/drivers/BlockEvents.java
@@ -411,7 +411,7 @@ public boolean matches(Map<String, Construct> prefilter, BindableEvent e) throws
}
if(prefilter.containsKey("block")) {
if(!event.getBlock().getType().getName().equals(prefilter.get("name").val())) {
if(!event.getBlock().getType().getName().equals(prefilter.get("block").val())) {
return false;
}
}

0 comments on commit 02ce140

Please sign in to comment.