aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/Danker
diff options
context:
space:
mode:
authorMy-Name-Is-Jeff <37018278+My-Name-Is-Jeff@users.noreply.github.com>2020-12-22 17:51:35 -0500
committerMy-Name-Is-Jeff <37018278+My-Name-Is-Jeff@users.noreply.github.com>2020-12-22 17:51:35 -0500
commit06f3f132645a50481e51756f996fc118aa59d306 (patch)
tree1d585e29cf705cbc87baf08b1637910df53ea98c /src/main/java/me/Danker
parent6c51a4c8aa217ff1ba50c1ac251fd38aef58a0cb (diff)
downloadSkyblockMod-06f3f132645a50481e51756f996fc118aa59d306.tar.gz
SkyblockMod-06f3f132645a50481e51756f996fc118aa59d306.tar.bz2
SkyblockMod-06f3f132645a50481e51756f996fc118aa59d306.zip
Remove OAM detection
Diffstat (limited to 'src/main/java/me/Danker')
-rw-r--r--src/main/java/me/Danker/DankersSkyblockMod.java33
1 files changed, 0 insertions, 33 deletions
diff --git a/src/main/java/me/Danker/DankersSkyblockMod.java b/src/main/java/me/Danker/DankersSkyblockMod.java
index ad11f92..798c0fe 100644
--- a/src/main/java/me/Danker/DankersSkyblockMod.java
+++ b/src/main/java/me/Danker/DankersSkyblockMod.java
@@ -98,7 +98,6 @@ public class DankersSkyblockMod {
static double lastMaddoxTime = 0;
static KeyBinding[] keyBindings = new KeyBinding[2];
static boolean usingLabymod = false;
- static boolean usingSpiderFrogOldAnimationsMod = false;
public static String guiToOpen = null;
static boolean foundLivid = false;
static Entity livid = null;
@@ -312,13 +311,6 @@ public class DankersSkyblockMod {
public void postInit(final FMLPostInitializationEvent event) {
usingLabymod = Loader.isModLoaded("labymod");
System.out.println("LabyMod detection: " + usingLabymod);
- try {
- Class clazz = Class.forName("com.spiderfrog.oldanimations.OldAnimationsMod");
- usingSpiderFrogOldAnimationsMod = true;
- } catch (Exception var1) {
- usingSpiderFrogOldAnimationsMod = false;
- }
- System.out.println("OldAnimationsMod detection: " + usingSpiderFrogOldAnimationsMod);
}
// Update checker
@@ -359,31 +351,6 @@ public class DankersSkyblockMod {
if (!updateChecked) {
updateChecked = true;
- if (usingSpiderFrogOldAnimationsMod) {
- new Thread(() -> {
- while (true) {
- if (Minecraft.getMinecraft().thePlayer == null) {
- try {
- Thread.sleep(500);
- } catch (InterruptedException e) {
- e.printStackTrace();
- }
- } else {
- try {
- Thread.sleep(2000);
- } catch (InterruptedException e) {
- e.printStackTrace();
- }
- Minecraft.getMinecraft().thePlayer.addChatMessage(new ChatComponentText(EnumChatFormatting.RED +
- "You are using spiderfrog's OldAnimationsMod.\n" +
- "Danker's Skyblock Mod is incompatible with OldAnimationsMod.\n" +
- "Please remove OldAnimationsMod or you may experience crashes or other issues."));
- break;
- }
- }
- }).start();
- }
-
// MULTI THREAD DRIFTING
new Thread(() -> {
EntityPlayer player = Minecraft.getMinecraft().thePlayer;