mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-18 03:15:28 +00:00
Revert "Fix #209. Hardened plugin loading. IC2 machines load only with IC2"
This reverts commit 2986536e66.
This commit is contained in:
1 parent
624d5b481e
commit
0a1eba609c
16 files changed
+186
-295
No files matched your search
@@ -19,8 +19,6 @@ import forestry.pipes.GuiHandlerPipes;
|
||||
import forestry.pipes.network.PacketHandlerPipes;
|
||||
import forestry.pipes.proxy.ProxyPipes;
|
||||
import java.util.EnumSet;
|
||||
import java.util.HashSet;
|
||||
import java.util.Set;
|
||||
|
||||
@Plugin(pluginID = "Pipes", name = "Pipes", author = "SirSengir", url = Defaults.URL, description = "Adds the apiarist's pipe for beekeeping if apiculture is enabled and BuildCraft 6 is present.")
|
||||
public class PluginPropolisPipe extends ForestryPlugin {
|
||||
@@ -48,11 +46,10 @@ public class PluginPropolisPipe extends ForestryPlugin {
|
||||
}
|
||||
|
||||
@Override
|
||||
public HashSet<Class<? extends ForestryPlugin>> getDependencies() {
|
||||
HashSet<Class<? extends ForestryPlugin>> dependencies = super.getDependencies();
|
||||
dependencies.add(PluginBuildCraft.class);
|
||||
|
||||
return dependencies;
|
||||
public EnumSet<PluginManager.Module> getDependancies() {
|
||||
EnumSet<PluginManager.Module> deps = super.getDependancies();
|
||||
deps.add(PluginManager.Module.BUILDCRAFT);
|
||||
return deps;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in new issue
Block a user