public User getUser() {
        assertInitialised();
        return this.user;
    }
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