Skip to content

Commit

Permalink
Fix mooshroom flask (Closes #115)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mrbysco committed Dec 24, 2024
1 parent c527fcc commit b8a89d4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ protected void onHitEntity(EntityHitResult result) {
entityFlask = new ItemStack(ForceRegistry.CAVE_SPIDER_FLASK.get());
} else if (entity instanceof Cod) {
entityFlask = new ItemStack(ForceRegistry.COD_FLASK.get());
} else if (entity instanceof Cow) {
} else if (entity instanceof Cow && !(entity instanceof MushroomCow)) {
entityFlask = new ItemStack(ForceRegistry.COW_FLASK.get());
} else if (entity instanceof Dolphin) {
entityFlask = new ItemStack(ForceRegistry.DOLPHIN_FLASK.get());
Expand Down

0 comments on commit b8a89d4

Please sign in to comment.