mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-22 04:52:26 +00:00
#806 Fix server crash from trying to load chest renderer
This commit is contained in:
1 parent
4234c38d69
commit
65f876cf4a
5 files changed
+14
-6
No files matched your search
@@ -42,8 +42,8 @@ import forestry.core.fluids.Fluids;
|
||||
import forestry.core.genetics.Branch;
|
||||
import forestry.core.genetics.alleles.Allele;
|
||||
import forestry.core.items.ItemBlockForestry;
|
||||
import forestry.core.proxy.Proxies;
|
||||
import forestry.core.recipes.ShapedRecipeCustom;
|
||||
import forestry.core.render.RenderNaturalistChest;
|
||||
import forestry.core.tiles.MachineDefinition;
|
||||
import forestry.core.utils.EntityUtil;
|
||||
import forestry.core.utils.Log;
|
||||
@@ -124,7 +124,7 @@ public class PluginLepidopterology extends ForestryPlugin {
|
||||
registerTemplates();
|
||||
|
||||
BlockBase lepidopterology = ((BlockBase) ForestryBlock.lepidopterology.block());
|
||||
MachineDefinition definitionChest = lepidopterology.addDefinition(new MachineDefinition(Constants.DEFINITION_LEPICHEST_META, "forestry.LepiChest", TileLepidopteristChest.class, new RenderNaturalistChest("lepichest"),
|
||||
MachineDefinition definitionChest = lepidopterology.addDefinition(new MachineDefinition(Constants.DEFINITION_LEPICHEST_META, "forestry.LepiChest", TileLepidopteristChest.class, Proxies.render.getRenderChest("lepichest"),
|
||||
ShapedRecipeCustom.createShapedRecipe(
|
||||
ForestryBlock.lepidopterology.getItemStack(1, Constants.DEFINITION_LEPICHEST_META),
|
||||
" # ",
|
||||
|
||||
Reference in new issue
Block a user