Fix #904 Crash from using Infuser

(cherry picked from commit 6d6af6b043)
This commit is contained in:
mezz committed 2015-10-21 13:18:50 -07:00
1 parent 3beacb998d
commit d09b663ba6
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) {