Fixed Refined Storage silicon's oredict entry being registered too late. Fixes #1814

This commit is contained in:
raoulvdberge
2018-09-06 15:03:24 +02:00
parent 7c2461b2e0
commit 78703611bb
2 changed files with 5 additions and 2 deletions

View File

@@ -1,5 +1,8 @@
# Refined Storage Changelog # Refined Storage Changelog
### 1.6.5
- Fixed Refined Storage silicon's oredict entry being registered too late (raoulvdberge)
### 1.6.4 ### 1.6.4
- Rewrote autocrafting again, bringing performance up to par with other autocrafting mods (raoulvdberge) - Rewrote autocrafting again, bringing performance up to par with other autocrafting mods (raoulvdberge)
- Autocrafting now reserves items and fluids in an internal inventory to avoid having the storage network steal stacks required for autocrafting (raoulvdberge) - Autocrafting now reserves items and fluids in an internal inventory to avoid having the storage network steal stacks required for autocrafting (raoulvdberge)

View File

@@ -245,8 +245,6 @@ public class ProxyCommon {
} }
public void init(FMLInitializationEvent e) { public void init(FMLInitializationEvent e) {
OreDictionary.registerOre("itemSilicon", RSItems.SILICON);
GameRegistry.addSmelting(Items.QUARTZ, new ItemStack(RSItems.SILICON), 0.5F); GameRegistry.addSmelting(Items.QUARTZ, new ItemStack(RSItems.SILICON), 0.5F);
GameRegistry.addSmelting(new ItemStack(RSItems.PROCESSOR, 1, ItemProcessor.TYPE_CUT_BASIC), new ItemStack(RSItems.PROCESSOR, 1, ItemProcessor.TYPE_BASIC), 0.5F); GameRegistry.addSmelting(new ItemStack(RSItems.PROCESSOR, 1, ItemProcessor.TYPE_CUT_BASIC), new ItemStack(RSItems.PROCESSOR, 1, ItemProcessor.TYPE_BASIC), 0.5F);
@@ -282,6 +280,8 @@ public class ProxyCommon {
@SubscribeEvent @SubscribeEvent
public void registerItems(RegistryEvent.Register<Item> e) { public void registerItems(RegistryEvent.Register<Item> e) {
itemsToRegister.forEach(e.getRegistry()::register); itemsToRegister.forEach(e.getRegistry()::register);
OreDictionary.registerOre("itemSilicon", RSItems.SILICON);
} }
@SubscribeEvent @SubscribeEvent