mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-11 21:57:40 +00:00
Party Enable Config
This commit is contained in:
1 parent
9ca5c96ad4
commit
3dae540ffe
1 file changed
+3
@@ -121,6 +121,9 @@ public class PacketHandlerServer{
|
||||
PlayerDataController.Instance.getPlayerData(player).animationData.cacheAnimation(buffer.readInt());
|
||||
return;
|
||||
} else if (type == EnumPacketServer.GetPartyData || type == EnumPacketServer.CreateParty) {
|
||||
if(!ConfigMain.PartiesEnabled)
|
||||
return;
|
||||
|
||||
if (type == EnumPacketServer.CreateParty) {
|
||||
Party party = PartyController.Instance().createParty();
|
||||
party.addPlayer(player);
|
||||
|
||||
Reference in new issue
Block a user