mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-22 21:26:46 +01:00
Fixed bad /party fix :(
This commit is contained in:
parent
419e011d0b
commit
946ea19371
@ -20,6 +20,7 @@ Version 1.3.07
|
|||||||
+ Added config options for enabling/disabling specific double drops
|
+ Added config options for enabling/disabling specific double drops
|
||||||
+ Added automatic zip backup of flatfile database & config files
|
+ Added automatic zip backup of flatfile database & config files
|
||||||
+ Added config options to enable/disable specific skills for PVP & PVE
|
+ Added config options to enable/disable specific skills for PVP & PVE
|
||||||
|
= Fixed /party not working properly with 2 arguments
|
||||||
= Fixed /ability not checking the right permission
|
= Fixed /ability not checking the right permission
|
||||||
= Fixed rare NPE on /party command
|
= Fixed rare NPE on /party command
|
||||||
= Fixed Arrow Retrieval dropping only one arrow
|
= Fixed Arrow Retrieval dropping only one arrow
|
||||||
|
@ -161,11 +161,6 @@ public class PartyCommand implements CommandExecutor {
|
|||||||
case 2:
|
case 2:
|
||||||
if (PP.inParty()) {
|
if (PP.inParty()) {
|
||||||
if (args[0].equalsIgnoreCase("password")) {
|
if (args[0].equalsIgnoreCase("password")) {
|
||||||
if (!partyInstance.isParty(args[1])) {
|
|
||||||
sender.sendMessage(LocaleLoader.getString("Party.InvalidName"));
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (isLeader) {
|
if (isLeader) {
|
||||||
if (!partyInstance.isPartyLocked(partyName)) {
|
if (!partyInstance.isPartyLocked(partyName)) {
|
||||||
partyInstance.lockParty(partyName);
|
partyInstance.lockParty(partyName);
|
||||||
|
Loading…
Reference in New Issue
Block a user