mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-26 15:03:01 +00:00
Debug for PeaceOfMind
This commit is contained in:
1 parent
ed14e06554
commit
21ca7e4df9
1 file changed
+4
@@ -13,10 +13,13 @@ public class PeaceOfMind
|
||||
{
|
||||
public PeaceOfMind()
|
||||
{
|
||||
System.out.println("Debug mod IDs go!");
|
||||
for (ModContainer o : Loader.instance().getModList())
|
||||
{
|
||||
System.out.println("Mod ID: "+o.getModId());
|
||||
if (o.getModId().equals("GregTech-Addon"))
|
||||
{
|
||||
System.out.println("GregTech detected, attempting to unregister");
|
||||
try
|
||||
{
|
||||
ModContainer mod = o;
|
||||
@@ -28,6 +31,7 @@ public class PeaceOfMind
|
||||
catch (Exception e)
|
||||
{
|
||||
System.err.println("Cannot unregister GregTech");
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user