Yeah so i just added pk point shops and when you buy an item from the shop you receive two instead of one.

Heres my shopassistant.java

shopassistant - Pastebin.com

What am i doing wrong?

- i should probably mention my pkpt shop = 47 and im using c.magePoints instead of pkPoints

edit: fixed it, if anybody else has this problem i dont remember exactly what i did but i changed the coding around and instead of it appearing as
Code:
			else if (c.myShopId == 47) {
				if (c.magePoints >= getSpecialItemValue(itemID)) {
i did this

Code:
		int Slot2 = 0;//pkpt
		Slot2 = c.magePoints;		
 			if (c.myShopId == 47) {
				if (Slot2 >= getSpecialItemValue(itemID)) {