Skip to content

Commit 6f066f4

Browse files
authored
Some PAFBungeecord Fixes (#442)
fix PAFBungeecord adapter
1 parent 621c184 commit 6f066f4

File tree

4 files changed

+12
-22
lines changed

4 files changed

+12
-22
lines changed

SPECIAL_THANKS.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,5 @@ Casual order. If I forgot to add you on this list please contact me.
88
- 𝐌𝐚𝐫𝐜𝐞𝐥𝐞𝐤𝐭𝐫𝐨
99
- Barnaby
1010
- Ryan DeTree
11-
- Dragoș (gamster.org)
11+
- Dragoș (gamster.org)
12+
- J.T. McQuigg (JT122406)

bedwars-plugin/pom.xml

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -72,26 +72,14 @@
7272
<dependency>
7373
<groupId>de.simonsator</groupId>
7474
<artifactId>Party-and-Friends-MySQL-Edition-Spigot-API</artifactId>
75-
<version>1.5.1</version>
75+
<version>1.5.3</version>
7676
<scope>provided</scope>
77-
<exclusions>
78-
<exclusion>
79-
<groupId>be.maximvdw</groupId>
80-
<artifactId>MVdWPlaceholderAPI</artifactId>
81-
</exclusion>
82-
</exclusions>
8377
</dependency>
8478
<dependency>
8579
<groupId>de.simonsator</groupId>
8680
<artifactId>Spigot-Party-API-For-RedisBungee</artifactId>
87-
<version>1.0.2-SNAPSHOT</version>
81+
<version>1.0.3-SNAPSHOT</version>
8882
<scope>provided</scope>
89-
<exclusions>
90-
<exclusion>
91-
<groupId>be.maximvdw</groupId>
92-
<artifactId>MVdWPlaceholderAPI</artifactId>
93-
</exclusion>
94-
</exclusions>
9583
</dependency>
9684
<dependency>
9785
<groupId>org.bstats</groupId>
@@ -108,7 +96,7 @@
10896
<dependency>
10997
<groupId>com.alessiodp.parties</groupId>
11098
<artifactId>parties-api</artifactId>
111-
<version>3.1.14</version>
99+
<version>3.2.2</version>
112100
<scope>provided</scope>
113101
</dependency>
114102
<dependency>
@@ -266,7 +254,7 @@
266254
<dependency>
267255
<groupId>org.slf4j</groupId>
268256
<artifactId>slf4j-simple</artifactId>
269-
<version>1.7.32</version>
257+
<version>1.7.36</version>
270258
<optional>true</optional>
271259
</dependency>
272260

bedwars-plugin/src/main/java/com/andrei1058/bedwars/support/party/PAFBungeecordRedisApi.java

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,17 @@
1313

1414
public class PAFBungeecordRedisApi implements Party {
1515
//Party and Friends Extended for BungeeCord Support by JT122406
16-
@Override
17-
public boolean hasParty(Player p) {
18-
return getPAFParty(p) == null;
19-
}
2016

2117
private PlayerParty getPAFParty(Player p) {
2218
PAFPlayer pafPlayer = PAFPlayerManager.getInstance().getPlayer(p.getUniqueId());
2319
return PartyManager.getInstance().getParty(pafPlayer);
2420
}
2521

22+
@Override
23+
public boolean hasParty(Player p) {
24+
return getPAFParty(p) != null;
25+
}
26+
2627
@Override
2728
public int partySize(Player p) {
2829
return getMembers(p).size();

bedwars-plugin/src/main/resources/plugin.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ version: ${project.version}
44
author: andrei1058
55
description: BedWars minigame by andrei1058
66
main: com.andrei1058.bedwars.BedWars
7-
softdepend: [Vault,PlaceholderAPI,Citizens,Parties,SlimeWorldManager,VipFeatures,Enhanced-SlimeWorldManager,PartyAndFriends]
7+
softdepend: [Vault,PlaceholderAPI,Citizens,Parties,SlimeWorldManager,VipFeatures,Enhanced-SlimeWorldManager,PartyAndFriends,Spigot-Party-API-PAF]
88
load: STARTUP

0 commit comments

Comments
 (0)