@@ -55,7 +55,7 @@ public static ItemStack makeManaBean(Aspect aspect, int stackSize) {
55
55
return null ;
56
56
} else {
57
57
ItemStack stack = new ItemStack (CRItems .MANA_BEAN , stackSize , 0 );
58
- ((IEssentiaContainerItem ) CRItems .MANA_BEAN ).setAspects (stack , (new AspectList ()).add (aspect , CRConfig .general_settings .MANA_BEAN_ASPECT ));
58
+ ((IEssentiaContainerItem ) CRItems .MANA_BEAN ).setAspects (stack , (new AspectList ()).add (aspect , CRConfig .general_settings .MANA_BEAN_ASPECT_COUNT ));
59
59
return stack ;
60
60
}
61
61
}
@@ -88,7 +88,7 @@ public void getSubItems(CreativeTabs tab, NonNullList<ItemStack> items) {
88
88
89
89
for (Aspect tag : Aspect .aspects .values ()) {
90
90
ItemStack stack = new ItemStack (this );
91
- this .setAspects (stack , (new AspectList ()).add (tag , CRConfig .general_settings .MANA_BEAN_ASPECT ));
91
+ this .setAspects (stack , (new AspectList ()).add (tag , CRConfig .general_settings .MANA_BEAN_ASPECT_COUNT ));
92
92
items .add (stack );
93
93
}
94
94
}
@@ -110,7 +110,7 @@ public int getColor(ItemStack stack, int par2) {
110
110
@ Override
111
111
public void onUpdate (ItemStack par1ItemStack , World par2World , Entity par3Entity , int par4 , boolean par5 ) {
112
112
if (!par2World .isRemote && !par1ItemStack .hasTagCompound ()) {
113
- setAspects (par1ItemStack , (new AspectList ()).add (displayAspects [this .rand .nextInt (displayAspects .length )], CRConfig .general_settings .MANA_BEAN_ASPECT ));
113
+ setAspects (par1ItemStack , (new AspectList ()).add (displayAspects [this .rand .nextInt (displayAspects .length )], CRConfig .general_settings .MANA_BEAN_ASPECT_COUNT ));
114
114
}
115
115
116
116
super .onUpdate (par1ItemStack , par2World , par3Entity , par4 , par5 );
@@ -119,7 +119,7 @@ public void onUpdate(ItemStack par1ItemStack, World par2World, Entity par3Entity
119
119
@ Override
120
120
public void onCreated (ItemStack par1ItemStack , World par2World , EntityPlayer par3EntityPlayer ) {
121
121
if (!par1ItemStack .hasTagCompound ()) {
122
- setAspects (par1ItemStack , (new AspectList ()).add (displayAspects [this .rand .nextInt (displayAspects .length )], CRConfig .general_settings .MANA_BEAN_ASPECT ));
122
+ setAspects (par1ItemStack , (new AspectList ()).add (displayAspects [this .rand .nextInt (displayAspects .length )], CRConfig .general_settings .MANA_BEAN_ASPECT_COUNT ));
123
123
}
124
124
}
125
125
0 commit comments