diff options
author | syeyoung <cyong06@naver.com> | 2021-03-06 22:12:16 +0900 |
---|---|---|
committer | syeyoung <cyong06@naver.com> | 2021-03-06 22:12:16 +0900 |
commit | 80d792f7de6748b1cb31f1720af563ddbe0ce2dc (patch) | |
tree | e60190aedbf853e9b798a7f6398f704ce799b684 /src/main/java/kr/syeyoung/dungeonsguide/party | |
parent | 1da442fd77d241f563f1a57dc88ab04cc4c3cbb4 (diff) | |
download | Skyblock-Dungeons-Guide-80d792f7de6748b1cb31f1720af563ddbe0ce2dc.tar.gz Skyblock-Dungeons-Guide-80d792f7de6748b1cb31f1720af563ddbe0ce2dc.tar.bz2 Skyblock-Dungeons-Guide-80d792f7de6748b1cb31f1720af563ddbe0ce2dc.zip |
breh
Diffstat (limited to 'src/main/java/kr/syeyoung/dungeonsguide/party')
-rw-r--r-- | src/main/java/kr/syeyoung/dungeonsguide/party/PartyManager.java | 5 |
1 files changed, 5 insertions, 0 deletions
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) { |