mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 20:07:32 +00:00
Send full party data to client
This commit is contained in:
1 parent
6a21edb46b
commit
df32f6dc50
2 files changed
+5
No files matched your search
@@ -9,6 +9,7 @@ import kamkeel.npcs.network.enums.EnumSyncType;
|
||||
import kamkeel.npcs.network.packets.data.LoginPacket;
|
||||
import kamkeel.npcs.network.packets.data.large.SyncEffectPacket;
|
||||
import kamkeel.npcs.network.packets.data.large.SyncPacket;
|
||||
import kamkeel.npcs.network.packets.request.party.PartyInfoPacket;
|
||||
import net.minecraft.client.Minecraft;
|
||||
import net.minecraft.entity.player.EntityPlayerMP;
|
||||
import net.minecraft.nbt.NBTTagCompound;
|
||||
@@ -97,6 +98,9 @@ public class SyncController {
|
||||
|
||||
DBCAddon.instance.syncPlayer(player);
|
||||
syncPlayerData(player, false);
|
||||
|
||||
// Send party information to the player on login
|
||||
PartyInfoPacket.sendPartyData(player);
|
||||
}
|
||||
|
||||
public static NBTTagCompound workbenchNBT() {
|
||||
|
||||
Reference in new issue
Block a user