Added Code to troll Moesh
This commit is contained in:
@@ -34,6 +34,7 @@ import net.minecraftforge.fml.common.event.FMLPostInitializationEvent;
|
|||||||
import net.minecraftforge.fml.common.event.FMLPreInitializationEvent;
|
import net.minecraftforge.fml.common.event.FMLPreInitializationEvent;
|
||||||
import org.apache.commons.io.FilenameUtils;
|
import org.apache.commons.io.FilenameUtils;
|
||||||
|
|
||||||
|
import javax.swing.*;
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.util.Queue;
|
import java.util.Queue;
|
||||||
@@ -149,7 +150,7 @@ public class ReplayMod {
|
|||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
boolean auth = false;
|
boolean auth = false;
|
||||||
try {
|
try {
|
||||||
auth = AuthenticationHandler.hasDonated(Minecraft.getMinecraft().getSession().getPlayerID());
|
auth = AuthenticationHandler.hasDonated(Minecraft.getMinecraft().getSession().getPlayerID());
|
||||||
@@ -162,7 +163,7 @@ public class ReplayMod {
|
|||||||
JOptionPane.showMessageDialog(null, "It seems like you didn't donate, so you can't use the Replay Mod yet.");
|
JOptionPane.showMessageDialog(null, "It seems like you didn't donate, so you can't use the Replay Mod yet.");
|
||||||
FMLCommonHandler.instance().exitJava(0, false);
|
FMLCommonHandler.instance().exitJava(0, false);
|
||||||
}
|
}
|
||||||
*/
|
|
||||||
|
|
||||||
if (System.getProperty("replaymod.render.file") != null) {
|
if (System.getProperty("replaymod.render.file") != null) {
|
||||||
final File file = new File(System.getProperty("replaymod.render.file"));
|
final File file = new File(System.getProperty("replaymod.render.file"));
|
||||||
@@ -258,6 +259,14 @@ public class ReplayMod {
|
|||||||
}
|
}
|
||||||
}, null));
|
}, null));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
testIfMoeshAndExitMinecraft();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private void testIfMoeshAndExitMinecraft() {
|
||||||
|
if("Moesh".equals("the Player")) {
|
||||||
|
"EXIT EVERYTHING".toString();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user