Electrum bees code double up (fix included)

Issue #25 closed
Former user created an issue

Electrum bees are having their specialty "Electrum nuggets" registered twice (with two different production chances - 9 & 18%), at lines below:

BeeSpecies.java:1101-1108 BeeSpecies.java:1596-1603

One needs to be removed. Seems more sensible to me to remove 1596-1603 as no other mod makes redstone flux nuggets, and the code fits up there neatly next to the TE specialty registrations. Up to you :)

Comments (4)

  1. Adam

    Woops, wasn't logged in. Appropriate code is below.

    BeeSpecies.java:1101-1108

            if (RedstoneArsenalHelper.isActive())
            {
                RSA_FLUXED.addSpecialty(Config.rsaFluxNugget, 9);   
            }
            else
            {
                RSA_FLUXED.setInactive();
            }
    

    BeeSpecies.java:1596-1603

            if (OreDictionary.getOres("nuggetElectrumFlux").size() > 0)
            {
                RSA_FLUXED.addSpecialty(OreDictionary.getOres("nuggetElectrumFlux").get(0), 18);
            }
            else
            {
                RSA_FLUXED.setInactive();
            }
    
  2. Log in to comment