Remove Redundant Old Packet Handlers

This commit is contained in:
Kam committed 2025-02-02 23:18:18 -05:00
1 parent 0f948a9d62
commit fe7c24186d
8 files changed
+1 -440

No files matched your search

@@ -259,16 +259,6 @@ public class NoppesUtilPlayer {
bankData.openBankGui(player, npc, bank.id, container.slot);
}
public static void sendData(EnumPlayerPacket enu, Object... obs) {
ByteBuf buffer = Unpooled.buffer();
try {
if(!Server.fillBuffer(buffer, enu, obs))
return;
CustomNpcs.ChannelPlayer.sendToServer(new FMLProxyPacket(buffer,"CustomNPCsPlayer"));
} catch (IOException e) {
e.printStackTrace();
}
}
public static void dialogSelected(int dialogId, int optionId, EntityPlayerMP player, EntityNPCInterface npc) {
Dialog dialog = DialogController.Instance.dialogs.get(dialogId);