mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-23 05:36:46 +01:00
Fixed a bug which made it impossible to join other players' parties.
This commit is contained in:
parent
89eef2ce07
commit
1c328e7ac7
@ -35,6 +35,7 @@ Version 1.4.00-dev
|
|||||||
= Fixed bug where all skill guide headers appeared as "Skillname Guide Guide"
|
= Fixed bug where all skill guide headers appeared as "Skillname Guide Guide"
|
||||||
= Fixed bug where Impact was applied incorrectly due to an inverted method call
|
= Fixed bug where Impact was applied incorrectly due to an inverted method call
|
||||||
= Fixed bug where Impact improperly determined the defender's armor
|
= Fixed bug where Impact improperly determined the defender's armor
|
||||||
|
= Fixed a bug which made it impossible to join other players' parties
|
||||||
= Fixed ArrayIndexOutOfBoundsException resulting from being unranked in a skill when using FlatFile
|
= Fixed ArrayIndexOutOfBoundsException resulting from being unranked in a skill when using FlatFile
|
||||||
= Fixed Woodcutting accidentally using Mining double drop values.
|
= Fixed Woodcutting accidentally using Mining double drop values.
|
||||||
= Fixed Hylian Luck not removing the block-placed flag from flowers.
|
= Fixed Hylian Luck not removing the block-placed flag from flowers.
|
||||||
|
@ -186,7 +186,9 @@ public class PartyCommand implements CommandExecutor {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!mcMMOPlayer.inParty()) {
|
McMMOPlayer mcMMOTarget = Users.getPlayer(target);
|
||||||
|
|
||||||
|
if (!mcMMOTarget.inParty()) {
|
||||||
player.sendMessage(LocaleLoader.getString("Party.PlayerNotInParty", args[1]));
|
player.sendMessage(LocaleLoader.getString("Party.PlayerNotInParty", args[1]));
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
@ -209,7 +211,7 @@ public class PartyCommand implements CommandExecutor {
|
|||||||
password = args[2];
|
password = args[2];
|
||||||
}
|
}
|
||||||
|
|
||||||
Party targetParty = Users.getPlayer(target).getParty();
|
Party targetParty = mcMMOTarget.getParty();
|
||||||
|
|
||||||
// Check to see if the party exists, and if it does, can the player join it?
|
// Check to see if the party exists, and if it does, can the player join it?
|
||||||
if (targetParty != null && !PartyManager.checkJoinability(player, targetParty, null)) {
|
if (targetParty != null && !PartyManager.checkJoinability(player, targetParty, null)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user