mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-26 06:53:20 +00:00
Code to disable mods at runtime, or other times.
This commit is contained in:
1 parent
32561265fc
commit
a17489172c
8 files changed
+120
-24
No files matched your search
@@ -141,12 +141,6 @@ public class DummyModContainer implements ModContainer
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isNetworkMod()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getDisplayVersion()
|
||||
{
|
||||
@@ -186,4 +180,10 @@ public class DummyModContainer implements ModContainer
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Disableable canBeDisabled()
|
||||
{
|
||||
return Disableable.NEVER;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user