Fixed jump with Chisel netherrack blocks while Bibliocraft is installed
This commit is contained in:
parent
ec50046b2e
commit
7687c43293
1 changed files with 5 additions and 1 deletions
|
@ -25,7 +25,11 @@ public class CompatBiblioCraft implements IBlockTransformer {
|
|||
|
||||
@Override
|
||||
public boolean isApplicable(final Block block, final int metadata, final TileEntity tileEntity) {
|
||||
return block != null && block.getClass().getCanonicalName().startsWith("jds.bibliocraft.");
|
||||
if (block == null) {
|
||||
return false;
|
||||
}
|
||||
String canonicalName = block.getClass().getCanonicalName();
|
||||
return canonicalName != null && canonicalName.startsWith("jds.bibliocraft.");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Add table
Reference in a new issue