mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-14 01:04:12 +00:00
Fix bee flower config parsing
This commit is contained in:
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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user