Complete Block & Wand Packets

This commit is contained in:
Kam committed 2025-02-02 19:08:18 -05:00
1 parent f314d9d826
commit b0e4d555ce
13 files changed
+267 -64

No files matched your search

@@ -1,5 +1,7 @@
package noppes.npcs.client.gui;
import kamkeel.npcs.network.PacketClient;
import kamkeel.npcs.network.packets.request.faction.FactionsGetPacket;
import net.minecraft.client.gui.GuiButton;
import net.minecraft.client.gui.GuiScreen;
import noppes.npcs.client.Client;
@@ -28,7 +30,7 @@ public class GuiNPCFactionSelection extends GuiNPCInterface implements IScrollDa
this.parent = parent;
this.factionId = dialog;
Client.sendData(EnumPacketServer.FactionsGet);
PacketClient.sendClient(new FactionsGetPacket());
if(parent instanceof GuiSelectionListener){
listener = (GuiSelectionListener) parent;