mirror of
https://github.com/GTNewHorizons/Binnie.git
synced 2026-11-18 03:25:07 +00:00
Fix Flower Mutation Registration
This commit is contained in:
1 parent
5b4d490e94
commit
ccb718b84d
1 file changed
+3
-1
@@ -13,7 +13,9 @@ public class FlowerFactory implements IFlowerFactory {
|
||||
|
||||
@Override
|
||||
public IFlowerMutationBuilder createMutation(IAlleleFlowerSpecies parentFlower0, IAlleleFlowerSpecies parentFlower1, IAllele[] result, int chance) {
|
||||
return new FlowerMutation(parentFlower0, parentFlower1, result, chance);
|
||||
FlowerMutation mutation = new FlowerMutation(parentFlower0, parentFlower1, result, chance);
|
||||
FlowerManager.flowerRoot.registerMutation(mutation);
|
||||
return mutation;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user