Skip to content

Commit

Permalink
Merge pull request #543 from wdfaESfaef/bugfix
Browse files Browse the repository at this point in the history
修复树脂块无法捕捉船或矿车中的生物
  • Loading branch information
Gu-ZT authored May 3, 2024
2 parents e089585 + b778b49 commit f767a84
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ public static void saveMobInItem(
tag.putBoolean("is_monster", false);
}
CompoundTag entityTag = new CompoundTag();
entity.save(entityTag);
entity.saveAsPassenger(entityTag);
entityTag.remove(Entity.UUID_TAG);
tag.put("entity", entityTag);
stack.setTag(tag);
Expand Down

0 comments on commit f767a84

Please sign in to comment.