From b94dbf6d61d2e3d12ac0f7cf8b385223a79a6725 Mon Sep 17 00:00:00 2001 From: Roadhog360 Date: Sat, 15 May 2021 14:45:07 -0400 Subject: [PATCH] Remove last traces of IBurnableBlock --- src/main/java/ganymedes01/etfuturum/ModBlocks.java | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/main/java/ganymedes01/etfuturum/ModBlocks.java b/src/main/java/ganymedes01/etfuturum/ModBlocks.java index efab99954..b7a3a71ad 100644 --- a/src/main/java/ganymedes01/etfuturum/ModBlocks.java +++ b/src/main/java/ganymedes01/etfuturum/ModBlocks.java @@ -238,12 +238,6 @@ public static void init() { GameRegistry.registerBlock(block, ((ISubBlocksBlock) block).getItemBlockClass(), strings[strings.length - 1]); else GameRegistry.registerBlock(block, strings[strings.length - 1]); - // This Interface does not make sense as nobody uses FireInfo to see what is Flammable and what isn't. There is actual Functions in Block that can override Flammability and I did that for all things that implemented this Interface. - // if (block instanceof IBurnableBlock) { - // ImmutablePair i = ((IBurnableBlock) block).getFireInfo(); - // if(i != null) - // Blocks.fire.setFireInfo(block, (Integer)i.getLeft(), (Integer)i.getRight()); - // } } } } @@ -251,10 +245,4 @@ public static void init() { public static interface ISubBlocksBlock { Class getItemBlockClass(); } - - @Deprecated - public static interface IBurnableBlock { - @Deprecated - ImmutablePair getFireInfo(); - } } \ No newline at end of file