File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed
src/main/java/io/github/thebusybiscuit/slimefun4/core/services Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 4646 apiToken : ${{ secrets.BLOB_BUILDS_API_TOKEN }}
4747 file : ' ./target/Slimefun v4.9-UNOFFICIAL.jar'
4848 releaseNotes : ${{ github.event.head_commit.message }}
49-
49+
5050 - name : Upload Experimental build
5151 uses : WalshyDev/blob-builds/gh-action@ea9ecd9266c902c6627f884e657560d0fa6b61dd
5252 if : github.ref == 'refs/heads/experimental'
Original file line number Diff line number Diff line change 387387 </dependency >
388388 <!-- This needs to be before Spigot because MockBukkit will fail otherwise. -->
389389 <dependency >
390- <groupId >com.github.MockBukkit </groupId >
390+ <groupId >com.github.mockbukkit </groupId >
391391 <artifactId >MockBukkit</artifactId >
392392 <version >c7cc678834</version >
393393 <scope >test</scope >
Original file line number Diff line number Diff line change 88import java .net .URL ;
99import java .net .URLClassLoader ;
1010import java .net .http .HttpClient ;
11+ import java .net .http .HttpClient .Redirect ;
1112import java .net .http .HttpRequest ;
1213import java .net .http .HttpResponse ;
1314import java .net .http .HttpResponse .BodyHandler ;
@@ -75,7 +76,7 @@ public class MetricsService {
7576 private final Slimefun plugin ;
7677 private final File parentFolder ;
7778 private final File metricsModuleFile ;
78- private final HttpClient client = HttpClient .newHttpClient ();
79+ private final HttpClient client = HttpClient .newBuilder (). followRedirects ( Redirect . NORMAL ). build ();
7980
8081 private URLClassLoader moduleClassLoader ;
8182 private String metricVersion = null ;
You can’t perform that action at this time.
0 commit comments