Ir para conteúdo

[HELP] preciso de ajuda!


guikiller

Posts Recomendados

Passa o mouse em cima do loadPlayer() e manda aqui o que diz.

Quais são as especificações do método? 

 

 

Substituí por:

 mcMMO.getDatabaseManager().loadPlayerProfile(p.getName(), p.getUniqueId(), true); 

 

Editado por Savitar
Link para o comentário
Compartilhar em outros sites

8 horas atrás, Savitar disse:

Passa o mouse em cima do loadPlayer() e manda aqui o que diz.

Quais são as especificações do método? 

 

 

Substituí por:

 


 mcMMO.getDatabaseManager().loadPlayerProfile(p.getName(), p.getUniqueId(), true); 

  

Continua dando erro:
 Screenshot_12.png.c70a47347a6b6e669c103703d7d193d2.png

Link para o comentário
Compartilhar em outros sites

 /**
     * Load a player from the database.
     *
     * @deprecated replaced by {@link #loadPlayerProfile(String playerName, UUID uuid, boolean createNew)}
     *
     * @param playerName The name of the player to load from the database
     * @param createNew Whether to create a new record if the player is not
     *          found
     * @return The player's data, or an unloaded PlayerProfile if not found
     *          and createNew is false
     */
    @Deprecated
    public PlayerProfile loadPlayerProfile(String playerName, boolean createNew);

    /**
     * Load a player from the database.
     *
     * @param uuid The uuid of the player to load from the database
     * @return The player's data, or an unloaded PlayerProfile if not found
     */
    public PlayerProfile loadPlayerProfile(UUID uuid);

    /**
     * Load a player from the database. Attempt to use uuid, fall back on playername
     *
     * @param playerName The name of the player to load from the database
     * @param uuid The uuid of the player to load from the database
     * @param createNew Whether to create a new record if the player is not
     *          found
     * @return The player's data, or an unloaded PlayerProfile if not found
     *          and createNew is false
     */
    public PlayerProfile loadPlayerProfile(String playerName, UUID uuid, boolean createNew);

 

Link para o comentário
Compartilhar em outros sites

Visitante
Este tópico está impedido de receber novos posts.
×
×
  • Criar Novo...