Fix non [a-z0-9/._-] character in path of location (#1732)

Fixes a net.minecraft.util.ResourceLocationException that happens when the mod is loaded with Actually Additions due to the third party crop integration using an old block ID with deprecated casing.
This commit is contained in:
Victorsueca 2020-12-30 19:13:00 +01:00 committed by GitHub
parent a0b756240f
commit 9c1e1a7050
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -42,9 +42,9 @@ public class HarvestHandlerPlantable implements IHarvestHandler
HarvestRegistry.registerStandardCrop(Blocks.BEETROOTS, 3);
HarvestRegistry.registerStandardCrop(Blocks.NETHER_WART, 3);
addThirdPartyCrop("actuallyadditions", "blockFlax", 7);
addThirdPartyCrop("actuallyadditions", "blockCanola", 7);
addThirdPartyCrop("actuallyadditions", "blockRice", 7);
addThirdPartyCrop("actuallyadditions", "flax_block", 7);
addThirdPartyCrop("actuallyadditions", "canola_block", 7);
addThirdPartyCrop("actuallyadditions", "rice_block", 7);
addThirdPartyCrop("extrautils2", "redorchid", 6);
addThirdPartyCrop("extrautils2", "enderlily", 7);
@ -149,4 +149,4 @@ public class HarvestHandlerPlantable implements IHarvestHandler
BMLog.DEFAULT.error("HarvestCraft integration cancelled; crop name lookup broke");
}
}
}
}