Skip to content

Commit

Permalink
Update 2.4.4
Browse files Browse the repository at this point in the history
  • Loading branch information
AlessioDP committed Oct 8, 2018
1 parent 454c868 commit 38d1f9e
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 10 deletions.
2 changes: 1 addition & 1 deletion api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>com.alessiodp.parties</groupId>
<artifactId>Parties</artifactId>
<version>2.4.3</version>
<version>2.4.4</version>
</parent>

<artifactId>parties-api</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion bukkit/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.alessiodp.parties</groupId>
<artifactId>Parties</artifactId>
<version>2.4.3</version>
<version>2.4.4</version>
</parent>

<artifactId>parties-bukkit</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion bungee/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<parent>
<groupId>com.alessiodp.parties</groupId>
<artifactId>Parties</artifactId>
<version>2.4.3</version>
<version>2.4.4</version>
</parent>

<artifactId>parties-bungee</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<artifactId>Parties</artifactId>
<groupId>com.alessiodp.parties</groupId>
<version>2.4.3</version>
<version>2.4.4</version>
</parent>

<artifactId>parties-common</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ protected boolean onPlayerChat(User sender, String message) {
PartyPlayerImpl pp = plugin.getPlayerManager().getPlayer(sender.getUUID());

boolean partyChat = false;
if (!pp.getPartyName().isEmpty()) {
PartyImpl party = pp.getPartyName().isEmpty() ? null : plugin.getPartyManager().getParty(pp.getPartyName());
if (party != null) {
if (pp.isChatParty()) {
partyChat = true;
} else if (ConfigParties.GENERAL_CHAT_DIRECT_ENABLED && message.startsWith(ConfigParties.GENERAL_CHAT_DIRECT_PREFIX)) {
Expand Down Expand Up @@ -69,8 +70,6 @@ protected boolean onPlayerChat(User sender, String message) {
}

if (!mustWait) {
PartyImpl party = plugin.getPartyManager().getParty(pp.getPartyName());

// Calling API event
IChatEvent partiesChatEvent = plugin.getEventManager().prepareChatEvent(pp, party, finalMessage);
plugin.getEventManager().callEvent(partiesChatEvent);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ public void acceptInvite(UUID invitedPlayer) {

sendBroadcast(invitedPlayerPp, Messages.MAINCMD_ACCEPT_BROADCAST);

getMembers().add(invitedBy);
getMembers().add(invitedPlayer);
onlinePlayers.add(invitedPlayerPp);

invitedPlayerPp.setPartyName(getName());
Expand Down
2 changes: 1 addition & 1 deletion output/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>Parties</artifactId>
<groupId>com.alessiodp.parties</groupId>
<version>2.4.3</version>
<version>2.4.4</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<groupId>com.alessiodp.parties</groupId>
<artifactId>Parties</artifactId>
<version>2.4.3</version>
<version>2.4.4</version>
<packaging>pom</packaging>

<name>Parties</name>
Expand Down

0 comments on commit 38d1f9e

Please sign in to comment.