File tree 6 files changed +10
-12
lines changed
6 files changed +10
-12
lines changed Original file line number Diff line number Diff line change 6
6
7
7
<groupId >net.yasfu</groupId >
8
8
<artifactId >AcoWorth</artifactId >
9
- <version >1.6</version >
9
+ <version >1.6.1 </version >
10
10
11
11
<properties >
12
12
<project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
13
- <spigot-version >1.15</spigot-version >
14
13
</properties >
15
14
16
15
<repositories >
24
23
</repository >
25
24
<repository >
26
25
<id >codemc-repo</id >
27
- <url >https://repo.codemc.io/</url >
26
+ <url >https://repo.codemc.io/repository/maven-public/ </url >
28
27
</repository >
29
28
<repository >
30
29
<id >local-repo</id >
31
- <url >file://${project.basedir} /libs </url >
30
+ <url >file://${project.basedir} /lib </url >
32
31
</repository >
33
32
<repository >
34
33
<id >nexus</id >
44
43
<dependency >
45
44
<groupId >org.spigotmc</groupId >
46
45
<artifactId >spigot-api</artifactId >
47
- <version >1.15 .2-R0.1-SNAPSHOT</version >
46
+ <version >1.16 .2-R0.1-SNAPSHOT</version >
48
47
<scope >provided</scope >
49
48
</dependency >
50
49
<dependency >
56
55
<dependency >
57
56
<groupId >org.maxgamer</groupId >
58
57
<artifactId >QuickShop</artifactId >
59
- <version >4.0.3.3</version >
60
- <scope >provided</scope >
58
+ <version >4.0.4.14</version >
61
59
</dependency >
62
60
<dependency >
63
61
<groupId >com.spawnchunk</groupId >
64
62
<artifactId >auctionhouse</artifactId >
65
- <version >2.0.8 </version >
63
+ <version >2.1.9 </version >
66
64
<scope >provided</scope >
67
65
</dependency >
68
66
<dependency >
Original file line number Diff line number Diff line change 1
1
package net .yasfu .acoworth .ShopListeners ;
2
2
3
- import me .badbones69 .crazyauctions .api .events .AuctionWinBidEvent ;
4
3
import org .bukkit .Material ;
5
4
import org .bukkit .event .Listener ;
6
5
import org .bukkit .event .EventHandler ;
@@ -30,7 +29,7 @@ private void onAuctionSale(AuctionItemEvent aucEvent) {
30
29
}
31
30
32
31
@ EventHandler (priority = EventPriority .MONITOR )
33
- private void onAuctionBidWin (AuctionWinBidEvent aucEvent ) {
32
+ private void onAuctionBidWin (AuctionItemEvent aucEvent ) {
34
33
FileConfiguration cfg = plugin .getConfig ();
35
34
boolean enabled = cfg .getBoolean ("enableCrazyAuctionBids" );
36
35
if (!enabled ) { return ; }
Original file line number Diff line number Diff line change 2
2
3
3
import java .sql .*;
4
4
import java .util .ArrayList ;
5
- import java .util .Arrays ;
6
5
7
6
import org .bukkit .Material ;
8
7
import org .bukkit .configuration .file .FileConfiguration ;
9
8
9
+ import static org .bukkit .Bukkit .getServer ;
10
+
10
11
public class Storage {
11
12
12
13
public static Connection conn ;
@@ -39,6 +40,7 @@ public static void connect() {
39
40
checkTables ();
40
41
} catch (SQLException e ) {
41
42
AcoWorthPlugin .singleton .getLogger ().severe (e .getMessage ());
43
+ getServer ().getPluginManager ().disablePlugin (AcoWorthPlugin .singleton );
42
44
}
43
45
}
44
46
Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ name: AcoWorth
2
2
description : Keeps track of item sales and calculates approximate worth for each.
3
3
version : @version@
4
4
main : net.yasfu.acoworth.AcoWorthPlugin
5
- api-version : @spigot-version@
6
5
load : POSTWORLD
7
6
author : LittleBigBug
8
7
website : yasfu.net
You can’t perform that action at this time.
0 commit comments