-
Notifications
You must be signed in to change notification settings - Fork 276
Expand file tree
/
Copy pathAutoDeletePlugins.java
More file actions
33 lines (26 loc) · 973 Bytes
/
AutoDeletePlugins.java
File metadata and controls
33 lines (26 loc) · 973 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
package com.mohistmc;
import static com.mohistmc.util.PluginsModsDelete.chekPlugins;
import java.util.ArrayList;
import java.util.List;
import com.mohistmc.util.PluginsModsDelete;
/**
* @author Mgazul
* @date 2020/3/22 23:15
*/
public class AutoDeletePlugins {
public static List<PluginsModsDelete.Fix> plugins_fix = new ArrayList<>();
public static List<String> plugins_not_compatible = new ArrayList<>();
public static void init() {
plugins_fix.add(new PluginsModsDelete.Fix("com.earth2me.essentials.Essentials",
"https://github.com/KR33PY/Essentials/releases/download/essxmohist/EssentialsX-2.19.0-dev+99-fd961d5.jar",
"2.19.0-dev+99-fd961d5"));
}
public static void jar() throws Exception {
for (PluginsModsDelete.Fix fix : plugins_fix) {
chekPlugins(fix);
}
for (String mainClass : plugins_not_compatible) {
chekPlugins(mainClass);
}
}
}