From 80d792f7de6748b1cb31f1720af563ddbe0ce2dc Mon Sep 17 00:00:00 2001 From: syeyoung Date: Sat, 6 Mar 2021 22:12:16 +0900 Subject: breh --- src/main/java/kr/syeyoung/dungeonsguide/party/PartyManager.java | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/main/java/kr/syeyoung/dungeonsguide/party') diff --git a/src/main/java/kr/syeyoung/dungeonsguide/party/PartyManager.java b/src/main/java/kr/syeyoung/dungeonsguide/party/PartyManager.java index 36ce815f..02fdc610 100644 --- a/src/main/java/kr/syeyoung/dungeonsguide/party/PartyManager.java +++ b/src/main/java/kr/syeyoung/dungeonsguide/party/PartyManager.java @@ -12,6 +12,7 @@ import kr.syeyoung.dungeonsguide.stomp.StompPayload; import kr.syeyoung.dungeonsguide.stomp.StompSubscription; import kr.syeyoung.dungeonsguide.utils.TextUtils; import lombok.Getter; +import lombok.Setter; import net.minecraft.client.Minecraft; import net.minecraftforge.client.event.ClientChatReceivedEvent; import net.minecraftforge.fml.common.eventhandler.EventPriority; @@ -44,6 +45,10 @@ public class PartyManager implements StompMessageHandler { private boolean canInvite = false; private int invitedDash =0; + @Getter + @Setter + private int maxParty = 5; + public void toggleAllowAskToJoin() { if (canInvite) allowAskToJoin = !allowAskToJoin; if (allowAskToJoin) { -- cgit