public void initialise(UserCapabilityImpl previous, ServerPlayer player, LPForgePlugin plugin) {
        this.user = previous.user;
        this.queryOptionsSupplier = plugin.getContextManager().createQueryOptionsSupplier(player);
        this.language = previous.language;
        this.locale = previous.locale;
        this.initialised = true;
    }
Gets a {@link UserCapability} for a given {@link ServerPlayer}.

@param player the player
@return the capability, or null
forge/src/main/java/me/lucko/luckperms/forge/capabilities/UserCapabilityImpl.java