File tree Expand file tree Collapse file tree 3 files changed +8
-20
lines changed
src/main/java/com/tcoded/playerbountiesplus Expand file tree Collapse file tree 3 files changed +8
-20
lines changed Original file line number Diff line number Diff line change 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 >
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 >
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 >
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 >
Original file line number Diff line number Diff line change 22
33import com .google .common .collect .ImmutableList ;
44import com .tcoded .folialib .FoliaLib ;
5+ import com .tcoded .lightlibs .updatechecker .SimpleUpdateChecker ;
56import com .tcoded .playerbountiesplus .command .BountyCommand ;
67import com .tcoded .playerbountiesplus .command .PlayerBountiesPlusAdminCmd ;
78import com .tcoded .playerbountiesplus .hook .currency .EconomyHook ;
1314import com .tcoded .playerbountiesplus .listener .DeathListener ;
1415import com .tcoded .playerbountiesplus .manager .BountyDataManager ;
1516import com .tcoded .playerbountiesplus .util .LangUtil ;
16- import com .tcoded .updatechecker .SimpleUpdateChecker ;
1717import org .bstats .bukkit .Metrics ;
1818import org .bstats .charts .SimplePie ;
1919import 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
Original file line number Diff line number Diff 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 );
You can’t perform that action at this time.
0 commit comments