mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-14 01:04:12 +00:00
Fix #128 Make plugins for Buildcraft only available for 6.0.x, not 6.1.x
This commit is contained in:
1 parent
b38ca33c72
commit
17ec7edcf5
2 files changed
+4
-3
No files matched your search
@@ -38,7 +38,7 @@ public class PluginPropolisPipe extends NativePlugin {
|
||||
|
||||
@Override
|
||||
public boolean isAvailable() {
|
||||
return Proxies.common.isModLoaded("BuildCraft|Transport");
|
||||
return Proxies.common.isModLoaded("BuildCraft|Transport", PluginBuildCraft.validVersionRange);
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -62,7 +62,7 @@ public class PluginPropolisPipe extends NativePlugin {
|
||||
if (FMLCommonHandler.instance().getSide().isClient())
|
||||
proxyClass = "forestry.pipes.proxy.ClientProxyPipes";
|
||||
|
||||
proxy = (ProxyPipes) Proxies.common.instantiateIfModLoaded("BuildCraft|Transport", proxyClass);
|
||||
proxy = (ProxyPipes) Proxies.common.instantiateIfModLoaded("BuildCraft|Transport", PluginBuildCraft.validVersionRange, proxyClass);
|
||||
|
||||
if (proxy == null)
|
||||
return;
|
||||
|
||||
Reference in new issue
Block a user