Skip to content

Update Ant.java#15

Open
davidjjung wants to merge 1 commit intoN1nn1:forgefrom
davidjjung:patch-1
Open

Update Ant.java#15
davidjjung wants to merge 1 commit intoN1nn1:forgefrom
davidjjung:patch-1

Conversation

@davidjjung
Copy link

  • Reordered the code a tiny bit such that stacks shrink after the ant spawns item particles while nibbling a food item. This makes it such that feeding an ant from a stack of 1 doesn't spawn the missing resourcelocation magenta/black particles because the itemstack.shrink()-ed to Items.AIR

- Reordered the code a tiny bit such that stacks shrink *after* the ant spawns item particles while nibbling a food item. This makes it such that feeding an ant from a stack of 1 doesn't spawn the missing resourcelocation magenta/black particles because the itemstack`.shrink()`-ed to Items.AIR
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant