remove

public void remove(UUID uuid, boolean open)

Remove and stop a preview.

Parameters

uuid

The UUID of the player

open

If the inventory should open up again