Skip to content

Commit 64a90df

Browse files
committed
Fix licensing URL
1 parent 658fb98 commit 64a90df

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ plugins {
33
}
44

55
group 'me.dkim19375'
6-
version '1.3.0'
6+
version '1.3.1'
77

88
repositories {
99
mavenCentral()

src/main/java/me/dkim19375/dkim19375core/Licensing.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
public class Licensing {
1212
public static IOException e;
1313
public static boolean v;
14-
public static void validate(CoreJavaPlugin plugin, TriConsumer<Boolean, CoreJavaPlugin, IOException> validated) throws MalformedURLException {
15-
UpdateChecker c = new UpdateChecker(new URL("https://gist.githubusercontent.com/dkim19375/922e76c0c5797371ff7e1c37fe8e339a/raw/"), plugin);
14+
public static void validate(URL url, CoreJavaPlugin plugin, TriConsumer<Boolean, CoreJavaPlugin, IOException> validated) throws MalformedURLException {
15+
UpdateChecker c = new UpdateChecker(url, plugin);
1616
c.getFromRaw(v -> {
1717
switch (v.toLowerCase()) {
1818
case "true":

0 commit comments

Comments
 (0)