Skip to content

Commit

Permalink
Minor optimization
Browse files Browse the repository at this point in the history
  • Loading branch information
AntumDeluge committed Nov 9, 2023
1 parent 36d6aed commit 7a1834f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/games/stendhal/server/entity/item/Seed.java
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public boolean onUsed(final RPEntity user) {
if (itemdata == null) {
flowerGrower = new FlowerGrower();
} else {
flowerGrower = new FlowerGrower(this.getItemData());
flowerGrower = new FlowerGrower(itemdata);
}
userZone.add(flowerGrower);
// add the FlowerGrower where the seed was on the ground
Expand Down

0 comments on commit 7a1834f

Please sign in to comment.