Fix #904 Crash from using Infuser

This commit is contained in:
mezz committed 2015-10-21 12:22:40 -07:00
1 parent c4311cca77
commit 6d6af6b043
1 file changed
+2 -1
@@ -10,6 +10,7 @@
******************************************************************************/
package forestry.food.items;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
@@ -71,7 +72,7 @@ public class ItemBeverage extends ItemForestryFood {
}
public static List<IBeverageEffect> loadEffects(ItemStack stack) {
List<IBeverageEffect> effectsList = Collections.emptyList();
List<IBeverageEffect> effectsList = new ArrayList<>();
NBTTagCompound nbttagcompound = stack.getTagCompound();
if (nbttagcompound == null) {