Skip to content
Permalink
Browse files

Fix cauldron NPE.

Closes #1541.
  • Loading branch information
wizjany committed Mar 20, 2020
1 parent df2ae6a commit e6bdf8abb5abd28d72af774ffb5c114e0220bf39
@@ -1044,6 +1044,7 @@ public void onTakeLecternBook(PlayerTakeLecternBookEvent event) {

@EventHandler(ignoreCancelled = true)
public void onCauldronLevelChange(CauldronLevelChangeEvent event) {
if (event.getEntity() == null) return;
interactDebounce.debounce(event.getBlock(), event.getEntity(), event,
new UseBlockEvent(event, create(event.getEntity()),
event.getBlock()).setAllowed(hasInteractBypass(event.getBlock())));

0 comments on commit e6bdf8a

Please sign in to comment.
You can’t perform that action at this time.