Quote Originally Posted by Fiddle View Post
Code:
		for(int i = 0; i <= player.getInventory().getAmount(5022); i++) {
			if (i >= 1000000) {
				if (i % 1000000 == 0)
					amount++;
			}
		}
		player.getInventory().add(5023, amount);
you're joking right bro