mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-20 12:09:39 +00:00
Fix #1237 Fireproof blocks work as fuel
This commit is contained in:
1 parent
9f91832c7e
commit
e4f77e42d3
13 files changed
+67
-100
No files matched your search
@@ -145,12 +145,6 @@ public abstract class BlankForestryPlugin implements IForestryPlugin {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Nullable
|
||||
@Override
|
||||
public IFuelHandler getFuelHandler() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
ForestryPlugin forestryPlugin = getClass().getAnnotation(ForestryPlugin.class);
|
||||
|
||||
@@ -74,7 +74,4 @@ public interface IForestryPlugin {
|
||||
|
||||
@Nullable
|
||||
ICommand[] getConsoleCommands();
|
||||
|
||||
@Nullable
|
||||
IFuelHandler getFuelHandler();
|
||||
}
|
||||
@@ -33,11 +33,9 @@ import net.minecraft.world.gen.IChunkGenerator;
|
||||
|
||||
import net.minecraftforge.common.config.Configuration;
|
||||
import net.minecraftforge.common.config.Property;
|
||||
import net.minecraftforge.fml.common.IFuelHandler;
|
||||
import net.minecraftforge.fml.common.discovery.ASMDataTable;
|
||||
import net.minecraftforge.fml.common.event.FMLInterModComms;
|
||||
import net.minecraftforge.fml.common.event.FMLPreInitializationEvent;
|
||||
import net.minecraftforge.fml.common.registry.GameRegistry;
|
||||
import net.minecraftforge.fml.relauncher.Side;
|
||||
|
||||
import forestry.Forestry;
|
||||
@@ -108,11 +106,6 @@ public class PluginManager {
|
||||
if (resupplyHandler != null) {
|
||||
resupplyHandlers.add(resupplyHandler);
|
||||
}
|
||||
|
||||
IFuelHandler fuelHandler = plugin.getFuelHandler();
|
||||
if (fuelHandler != null) {
|
||||
GameRegistry.registerFuelHandler(fuelHandler);
|
||||
}
|
||||
}
|
||||
|
||||
private static IForestryPlugin getPluginCore(List<IForestryPlugin> forestryPlugins) {
|
||||
|
||||
Reference in new issue
Block a user