Updated RedstonePaste compatibility to 1.12.2
This commit is contained in:
parent
2eeb01ceb8
commit
e79924c4f2
2 changed files with 4 additions and 3 deletions
|
@ -19,9 +19,10 @@ public class CompatRedstonePaste implements IBlockTransformer {
|
|||
|
||||
public static void register() {
|
||||
try {
|
||||
classTileEntityRedstonePaste = Class.forName("fyber.redstonepastemod.TileEntityRedstonePaste");
|
||||
classTileEntityRedstonePaste = Class.forName("net.fybertech.redstonepaste.TileEntityRedstonePaste");
|
||||
|
||||
WarpDriveConfig.registerBlockTransformer("RedstonePasteMod", new CompatRedstonePaste());
|
||||
} catch(final ClassNotFoundException exception) {
|
||||
} catch (final ClassNotFoundException exception) {
|
||||
exception.printStackTrace();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1364,7 +1364,7 @@ public class WarpDriveConfig {
|
|||
CompatParziStarWars.register();
|
||||
}
|
||||
|
||||
final boolean isRedstonePasteLoaded = Loader.isModLoaded("RedstonePasteMod");
|
||||
final boolean isRedstonePasteLoaded = Loader.isModLoaded("redstonepaste");
|
||||
if (isRedstonePasteLoaded) {
|
||||
CompatRedstonePaste.register();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue