Commented Donator check

This commit is contained in:
CrushedPixel
2015-05-29 11:35:05 +02:00
parent 117f3e726d
commit d986db7c95

View File

@@ -34,7 +34,6 @@ 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;
@@ -150,7 +149,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());
@@ -163,6 +162,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) {