try {
price = Double.parseDouble(data);
} catch (NumberFormatException nfe) {}
// new shop
shop = new SellShop(UUID.randomUUID(), owner, loc, is);
shop.setUnlimited(true);
} else if (type.equalsIgnoreCase("finite")) {
//data = itemAmount + ";" + pricePerItem; FINITE
if(args.length > 1)
try {
amount = Integer.parseInt(args[0]);
price = Double.parseDouble(args[1]);
} catch (Exception e) {}
// new shop
shop = new SellShop(UUID.randomUUID(), owner, loc, is);
} else if (type.equalsIgnoreCase("exchange")) {
amount = 0;
//data = Exchange-type;Exchange-data;buy-amount;exchange-amount;exchange-rate-left;exchange-rate-right
if(args.length >= 3)