Skip to content

Commit 1b9f386

Browse files
authored
Merge pull request #26 from Sandro642/fix/mcs
Fix/mcs
2 parents 153b2a4 + b61ff74 commit 1b9f386

3 files changed

Lines changed: 6 additions & 3 deletions

File tree

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ plugins {
55
}
66

77
group = 'fr.sandro642.github'
8-
version = '0.2.4-STABLE'
8+
version = '0.2.5-STABLE'
99

1010
tasks.register('printVersion') {
1111
doLast {

readme.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ And if you thought APIs were complicated, think again! With ConnectLib, it's lik
77
---
88

99
```java
10-
Stable Version: 0.2.4-STABLE
10+
Stable Version: 0.2.5-STABLE
1111
```
1212

1313
---
@@ -93,7 +93,7 @@ repositories {
9393

9494
dependencies {
9595

96-
implementation("fr.sandro642.github:ConnectLib:0.2.4-STABLE")
96+
implementation("fr.sandro642.github:ConnectLib:0.2.5-STABLE")
9797

9898
}
9999

src/main/java/fr/sandro642/github/hook/MCSupport.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,9 @@ public void resetPlugin() {
114114
* @return The singleton instance of MCSupport.
115115
*/
116116
public static MCSupport getInstance() {
117+
if (instance == null) {
118+
instance = new MCSupport();
119+
}
117120
return instance;
118121
}
119122
}

0 commit comments

Comments
 (0)