mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-20 20:12:19 +00:00
Fix #904 Crash from using Infuser
This commit is contained in:
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) {
|
||||
|
||||
Reference in new issue
Block a user