mirror of
https://github.com/GTNewHorizons/MagicBees.git
synced 2026-10-26 14:24:25 +00:00
Fix NPE in SpeciesRecipeManaInfusion - outputCache not properly initalized the first time. :| Closes #50
Adding products to Big Bad Bee.
This commit is contained in:
1 parent
0a28b3fe63
commit
090a6a2fc3
4 files changed
+11
-2
No files matched your search
@@ -69,3 +69,7 @@ idea {
|
||||
}
|
||||
}
|
||||
|
||||
task deobfJar(type: Jar) { // Generate deobfuscated
|
||||
from sourceSets.main.output
|
||||
classifier = 'deobf'
|
||||
}
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
version_major=2
|
||||
version_minor=3
|
||||
version_rev=0-beta2
|
||||
version_rev=0
|
||||
|
||||
version_forestry=3.4.0.7
|
||||
version_bloodmagic=1.3.1-7
|
||||
|
||||
@@ -68,6 +68,10 @@ public class BeeProductHelper {
|
||||
SMOULDERING.addProduct(Config.combs.getStackForType(CombType.FURTIVE), 10)
|
||||
.addProduct(Config.combs.getStackForType(CombType.MOLTEN), 10)
|
||||
.addSpecialty(new ItemStack(Items.blaze_rod), 5);
|
||||
BIGBAD.addProduct(Config.combs.getStackForType(CombType.FURTIVE), 18)
|
||||
.addProduct(new ItemStack(Items.beef), 12)
|
||||
.addProduct(new ItemStack(Items.chicken), 12)
|
||||
.addSpecialty(new ItemStack(Items.melon), 10);
|
||||
|
||||
TIMELY.addProduct(Config.combs.getStackForType(CombType.TEMPORAL), 16);
|
||||
LORDLY.addProduct(Config.combs.getStackForType(CombType.TEMPORAL), 19);
|
||||
|
||||
@@ -20,7 +20,8 @@ public class SpeciesRecipeManaInfusion extends RecipeManaInfusion {
|
||||
super(BeeManager.getDefaultItemStackForSpecies(outSpecies, type), BeeManager.getDefaultItemStackForSpecies(inSpecies, type), mana);
|
||||
outputSpecies = outSpecies;
|
||||
inputSpecies = inSpecies;
|
||||
this.beeType = type;
|
||||
beeType = type;
|
||||
outputCache = super.getOutput();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in new issue
Block a user