Skip to content

Commit

Permalink
Ensure we can save entity data on the creature catcher - solves #326
Browse files Browse the repository at this point in the history
  • Loading branch information
Direwolf20-MC committed Jan 22, 2025
1 parent 5c16251 commit 1f060a2
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,8 @@ protected boolean canCapture(Entity entity) {
return false;
if (entity.getType().is(JustDireEntityTags.CREATURE_CATCHER_DENY))
return false;
if (!entity.save(new CompoundTag()))
return false;
return true;
}

Expand Down

0 comments on commit 1f060a2

Please sign in to comment.