mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-24 02:29:41 +00:00
Job Packets
This commit is contained in:
1 parent
7366b11077
commit
0124154380
15 files changed
+166
-117
No files matched your search
@@ -1,6 +1,7 @@
|
||||
package noppes.npcs.client.gui.mainmenu;
|
||||
|
||||
import kamkeel.npcs.network.PacketClient;
|
||||
import kamkeel.npcs.network.packets.request.jobs.JobGetPacket;
|
||||
import kamkeel.npcs.network.packets.request.mainmenu.MainmenuAdvancedGetPacket;
|
||||
import kamkeel.npcs.network.packets.request.mainmenu.MainmenuAdvancedSavePacket;
|
||||
import net.minecraft.client.gui.GuiButton;
|
||||
@@ -69,7 +70,7 @@ public class GuiNpcAdvanced extends GuiNPCInterface2 implements IGuiData
|
||||
}
|
||||
if(button.id == 4){
|
||||
save();
|
||||
Client.sendData(EnumPacketServer.JobGet);
|
||||
PacketClient.sendClient(new JobGetPacket());
|
||||
}
|
||||
if(button.id == 5){
|
||||
hasChanges = true;
|
||||
|
||||
Reference in new issue
Block a user