@@ -94,35 +94,6 @@ public void load(String id, File dataFolder, Logger logger, LibraryManager libra
9494 relocations .put (group , relocationTo + "{}lib{}" + groupParts [groupParts .length - 1 ]);
9595 }
9696
97- for (Dependency missingDependency : dependencies ) {
98- String name = missingDependency .getName ();
99- String group = missingDependency .getGroup ();
100- if (name .contains ("packetevents" )) {
101- relocations .put ("io{}github{}retrooper" , relocationTo + "{}lib{}packetevents" );
102- continue ;
103- }
104- if (missingDependency .isStickyLoad ()) {
105- if (missingDependency .getRelocation () != null ) {
106- String [] splitted = missingDependency .getGroup ().split ("\\ {}" );
107- relocations .put (missingDependency .getRelocation (), relocationTo + "{}lib{}" + splitted [splitted .length - 1 ]);
108- }
109- continue ;
110- }
111- if (name .contains ("adventure" )) {
112- // relocations.put("net{}kyori{}adventure{}text{}serializer", relocationTo + "{}lib{}adventure{}text{}serializer");
113- // relocations.put("net{}kyori{}option", relocationTo + "{}lib{}adventure{}option");
114- continue ;
115- }
116- if (name .contains ("stickynote" )) {
117- relocations .put (relocationFrom , relocationTo + "{}lib{}stickynote" );
118- }
119- // relocations.put("org.sqlite", relocationTo + "{}lib{}sqlite");
120- relocations .put ("com.mysql" , relocationTo + "{}lib{}mysql" );
121- if (exclusions .stream ().anyMatch (excluded -> missingDependency .getName ().contains (excluded ))) continue ;
122- String [] groupParts = group .split ("\\ {}" );
123- relocations .put (group , relocationTo + "{}lib{}" + groupParts [groupParts .length - 1 ]);
124- }
125-
12697 if (!missingDependencies .isEmpty ()) {
12798 loadMissingDependencies (id , logger , libraryManager , transitiveDependencyHelper , dependencyCache , dependencies , missingDependencies , relocationFrom , relocationTo );
12899 } else {
0 commit comments