mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-18 03:15:28 +00:00
Fix #904 Crash from using Infuser
(cherry picked from commit 6d6af6b043)
This commit is contained in:
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) {
|
||||
|
||||
Reference in new issue
Block a user