public void sendUpdate(int type, int _macroId, boolean first)
{
Macro[] all = getAllMacroses();
if(all.length == 0)
{
player.sendPacket(new SendMacroList(null, all.length, 0x00, 0, false));
}
else
{
for(Macro m : all)
{
player.sendPacket(new SendMacroList(m, all.length, type, _macroId, first));
}
}
}