mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-23 21:39:51 +00:00
Add missing farm logic localisation
This commit is contained in:
1 parent
533c9d0b2a
commit
cd7250604e
37 files changed
+233
-160
No files matched your search
@@ -145,13 +145,13 @@ public final class FarmRegistry implements IFarmRegistry {
|
||||
for(String entry : fertilizerList){
|
||||
String[] spited = entry.split(";");
|
||||
if(spited.length < 2){
|
||||
Log.error("Foretsry failed to parse a entry of the fertilizer config.");
|
||||
Log.error("Forestry failed to parse a entry of the fertilizer config.");
|
||||
continue;
|
||||
}
|
||||
String itemName = spited[0];
|
||||
ItemStack fertilizerItem = ItemStackUtil.parseItemStackString(itemName, OreDictionary.WILDCARD_VALUE);
|
||||
if(fertilizerItem == null || fertilizerItem.isEmpty()){
|
||||
Log.error("Foretsry failed to parse a entry of the fertilizer config, because the item doesn't exists.");
|
||||
Log.error("Forestry failed to parse a entry of the fertilizer config, because the item doesn't exists.");
|
||||
continue;
|
||||
}
|
||||
String value = spited[1];
|
||||
|
||||
Reference in new issue
Block a user