Fix bee flower config parsing

This commit is contained in:
mezz committed 2015-07-24 23:31:52 -07:00
1 parent 8d96264763
commit 953ffd4fd1
1 file changed
+1 -4
@@ -1028,10 +1028,7 @@ public class PluginApiculture extends ForestryPlugin {
private static void parsePlantableFlowers(Property property, String flowerType) {
for (String string : property.getStringList()) {
int idx = string.indexOf(':');
String itemStackString = string.substring(idx + 1);
StackUtils.Stack plantableFlower = StackUtils.parseStackString(itemStackString, OreDictionary.WILDCARD_VALUE);
StackUtils.Stack plantableFlower = StackUtils.parseStackString(string, OreDictionary.WILDCARD_VALUE);
if (plantableFlower == null) {
continue;
}