mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-29 16:46:46 +01:00
Fixed NPE on /party
This commit is contained in:
parent
7ad9b8ff3e
commit
354ed9ede0
@ -19,6 +19,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 rare NPE on /party command
|
||||||
= Fixed Arrow Retrieval dropping only one arrow
|
= Fixed Arrow Retrieval dropping only one arrow
|
||||||
= Fixed /p and /a incompatibilities with bChatManager
|
= Fixed /p and /a incompatibilities with bChatManager
|
||||||
= Fixed Iron Grip working reversely
|
= Fixed Iron Grip working reversely
|
||||||
|
@ -152,9 +152,10 @@ public class Party {
|
|||||||
|
|
||||||
if (player != null) {
|
if (player != null) {
|
||||||
for (String name : profiles.keySet()) {
|
for (String name : profiles.keySet()) {
|
||||||
Player p = profiles.get(name).getPlayer();
|
Player otherPlayer = profiles.get(name).getPlayer();
|
||||||
if (inSameParty(p, player)) {
|
|
||||||
players.add(p);
|
if (otherPlayer != null && inSameParty(otherPlayer, player)) {
|
||||||
|
players.add(otherPlayer);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user