mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-24 06:06:45 +01:00
Fixed NPE when party creation doesn't use password. Solves bug reported here: https://discord.com/channels/526933440214597677/526938425161416727/1213131451235827753
Signed-off-by: Momshroom <Momshroom@gmail.com>
This commit is contained in:
parent
4d85f24d98
commit
47506d404f
@ -354,7 +354,6 @@ public final class PartyManager {
|
||||
public void createParty(@NotNull McMMOPlayer mcMMOPlayer, @NotNull String partyName, @Nullable String password) {
|
||||
requireNonNull(mcMMOPlayer, "mcMMOPlayer cannot be null!");
|
||||
requireNonNull(partyName, "partyName cannot be null!");
|
||||
requireNonNull(password, "password cannot be null!");
|
||||
|
||||
Player player = mcMMOPlayer.getPlayer();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user