mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-14 01:04:12 +00:00
Add meta checking to flower weight adjustment
This commit is contained in:
1 parent
9d32c6dfcb
commit
49deb75278
1 file changed
+1
-1
@@ -91,7 +91,7 @@ public final class FlowerRegistry implements IFlowerRegistry {
|
||||
flowers.add(newFlower);
|
||||
} else if (flowers.get(index).getMeta() != newFlower.getMeta()) {
|
||||
flowers.add(newFlower);
|
||||
} else if (flowers.get(index).getWeight() < newFlower.getWeight()) {
|
||||
} else if (flowers.get(index).getWeight() < newFlower.getWeight() && flowers.get(index).getMeta() == newFlower.getMeta()) {
|
||||
flowers.get(index).setWeight(newFlower.getWeight());
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user