Updated RedstonePaste compatibility to 1.12.2

This commit is contained in:
Unknown 2018-12-16 12:05:39 +01:00 committed by unknown
parent 2eeb01ceb8
commit e79924c4f2
2 changed files with 4 additions and 3 deletions

View file

@ -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();
}
}

View file

@ -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();
}