Mobs not spawning on blocks (#23)

and config to disable this
This commit is contained in:
Zereff06 authored and GitHub committed 2023-02-06 21:31:32 +01:00
1 parent c14b5d4ddb
commit dfaa6dde5a
29 files changed
+140 -39

No files matched your search

@@ -25,7 +25,7 @@ import net.minecraft.world.World;
import vazkii.botania.api.lexicon.ILexiconable;
import vazkii.botania.api.lexicon.LexiconEntry;
import vazkii.botania.client.core.helper.IconHelper;
import vazkii.botania.common.item.block.ItemBlockWithMetadataAndName;
import vazkii.botania.common.item.block.ItemCubeWithMetadataAndName;
import vazkii.botania.common.lexicon.LexiconData;
import vazkii.botania.common.lib.LibBlockNames;
import cpw.mods.fml.common.registry.GameRegistry;
@@ -55,7 +55,7 @@ public class BlockLivingrock extends BlockMod implements ILexiconable {
@Override
public Block setBlockName(String par1Str) {
GameRegistry.registerBlock(this, ItemBlockWithMetadataAndName.class, par1Str);
GameRegistry.registerBlock(this, ItemCubeWithMetadataAndName.class, par1Str);
return super.setBlockName(par1Str);
}