Skip to content

Commit 8382c46

Browse files
v1.4.10 - Fix compilation errors
1 parent a8ef396 commit 8382c46

File tree

3 files changed

+8
-20
lines changed

3 files changed

+8
-20
lines changed

pom.xml

Lines changed: 5 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>com.tcoded</groupId>
88
<artifactId>PlayerBountiesPlus</artifactId>
9-
<version>1.4.9</version>
9+
<version>1.4.10</version>
1010
<packaging>jar</packaging>
1111

1212
<name>PlayerBountiesPlus</name>
@@ -79,18 +79,6 @@
7979
<id>jitpack.io</id>
8080
<url>https://jitpack.io</url>
8181
</repository>
82-
<repository>
83-
<id>devmart-other</id>
84-
<url>https://nexuslite.gcnt.net/repos/other/</url>
85-
</repository>
86-
<repository>
87-
<id>devmart-public</id>
88-
<url>https://nexuslite.gcnt.net/repos/public/</url>
89-
</repository>
90-
<repository>
91-
<id>devmart-tcoded</id>
92-
<url>https://nexuslite.gcnt.net/repos/tcoded/</url>
93-
</repository>
9482
<repository>
9583
<id>codemc-repo</id>
9684
<url>https://repo.codemc.org/repository/maven-public</url>
@@ -131,9 +119,9 @@
131119
<scope>provided</scope>
132120
</dependency>
133121
<dependency>
134-
<groupId>com.tcoded</groupId>
122+
<groupId>com.github.TechnicallyCoded</groupId>
135123
<artifactId>FoliaLib</artifactId>
136-
<version>0.2.6</version>
124+
<version>0.4.3</version>
137125
<scope>compile</scope>
138126
</dependency>
139127
<dependency>
@@ -150,9 +138,9 @@
150138
<scope>compile</scope>
151139
</dependency>
152140
<dependency>
153-
<groupId>com.tcoded.lightlibs</groupId>
141+
<groupId>com.github.LightLibs</groupId>
154142
<artifactId>SpigotUpdateChecker</artifactId>
155-
<version>1.1.2</version>
143+
<version>1.1.3</version>
156144
<scope>compile</scope>
157145
</dependency>
158146
<dependency>

src/main/java/com/tcoded/playerbountiesplus/PlayerBountiesPlus.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
import com.google.common.collect.ImmutableList;
44
import com.tcoded.folialib.FoliaLib;
5+
import com.tcoded.lightlibs.updatechecker.SimpleUpdateChecker;
56
import com.tcoded.playerbountiesplus.command.BountyCommand;
67
import com.tcoded.playerbountiesplus.command.PlayerBountiesPlusAdminCmd;
78
import com.tcoded.playerbountiesplus.hook.currency.EconomyHook;
@@ -13,7 +14,6 @@
1314
import com.tcoded.playerbountiesplus.listener.DeathListener;
1415
import com.tcoded.playerbountiesplus.manager.BountyDataManager;
1516
import com.tcoded.playerbountiesplus.util.LangUtil;
16-
import com.tcoded.updatechecker.SimpleUpdateChecker;
1717
import org.bstats.bukkit.Metrics;
1818
import org.bstats.charts.SimplePie;
1919
import org.bukkit.ChatColor;
@@ -128,7 +128,7 @@ public void checkUpdate() {
128128
this,
129129
ChatColor.translateAlternateColorCodes('&', "&f[&bPlayerBountiesPlus&f] "),
130130
108637,
131-
runnable -> this.getFoliaLib().getImpl().runAsync(runnable)
131+
runnable -> this.getFoliaLib().getScheduler().runAsync(wt -> runnable.run())
132132
);
133133
}
134134

src/main/java/com/tcoded/playerbountiesplus/manager/BountyDataManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ public void saveBountiesAsync() {
9999
}
100100

101101
// Save
102-
this.plugin.getFoliaLib().getImpl().runAsync(() -> {
102+
this.plugin.getFoliaLib().getScheduler().runAsync(wt -> {
103103
this.saveBounties();
104104

105105
this.savingAsync.set(false);

0 commit comments

Comments
 (0)