Fixed datagen related bug (#2790)
Raw metals thought the ingot storage block variant was their variant. THIS AFFECTS STORAGE RECIPES! Effectively means 9 raw variants can be combined to one ingot storage block, so maybe quickly new beta?
This commit is contained in:
parent
378df75c80
commit
8ed5082d81
1 changed files with 1 additions and 1 deletions
|
@ -729,7 +729,7 @@ public class TRContent {
|
||||||
item = new Item(new Item.Settings().group(TechReborn.ITEMGROUP));
|
item = new Item(new Item.Settings().group(TechReborn.ITEMGROUP));
|
||||||
ItemConvertible blockVariant = null;
|
ItemConvertible blockVariant = null;
|
||||||
try {
|
try {
|
||||||
blockVariant = StorageBlocks.valueOf(this.toString());
|
blockVariant = StorageBlocks.valueOf("RAW_" + this.toString());
|
||||||
}
|
}
|
||||||
catch (IllegalArgumentException ex) {
|
catch (IllegalArgumentException ex) {
|
||||||
TechReborn.LOGGER.warn("Raw metal {} has no storage block equivalent!", name);
|
TechReborn.LOGGER.warn("Raw metal {} has no storage block equivalent!", name);
|
||||||
|
|
Loading…
Reference in a new issue