Skip to content

Commit

Permalink
Fix crash when Waila is loaded and Chisel is not loaded (#80)
Browse files Browse the repository at this point in the history
  • Loading branch information
miozune authored Jul 29, 2022
1 parent 37bc1d7 commit eb4401f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/main/java/crazypants/util/IFacade.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,12 @@

import cofh.api.block.IBlockAppearance;
import cpw.mods.fml.common.Optional;
import net.minecraft.block.Block;
import net.minecraft.world.IBlockAccess;

@Optional.Interface(modid = "chisel", iface = "com.cricketcraft.chisel.api.IFacade")
public interface IFacade extends com.cricketcraft.chisel.api.IFacade, IBlockAppearance {
// :(
Block getFacade(IBlockAccess world, int x, int y, int z, int side);

int getFacadeMetadata(IBlockAccess world, int x, int y, int z, int side);
}

0 comments on commit eb4401f

Please sign in to comment.