/buy doesn't work?

As a gun dealer my /buy doesn’t work? The class is TEAM_GUN, this was working and then it stopped working when I added some shipments and I enabled restrict pistol. I really don’t know what I did wrong?