Loop on inventory return double itens

Why when i run a loop into one inventory the itens is duplicated?

This is the code:

this.player.getInventory().clear();

this.pinv.slots().forEach(slot -> {
	if (slot.peek().isPresent()){
		this.player.getInventory().offer(slot.peek().get());
	} 
});

In this case, “this.pinv” is other player inventory.

The result is itens with the double of quantity :confused:

Can you re-test on the latest version of SpongeForge?