Force properly close inventories check for some bukkit blocks
Remove trailing whitespaces