Help With Sum (Dont know how to explain)

Discussion in 'Plugin Development' started by YoloSanta, Jul 6, 2017.

Thread Status:
Not open for further replies.
  1. Offline

    YoloSanta

    How would I even go about to fix this error;
    Code:
    The method sendMessage(BaseComponent) in the type Player.Spigot is not applicable for the arguments (ComponentBuilder)
    Heres the code where the error happens;
    Code:java
    1. p.spigot().sendMessage(new ComponentBuilder
     
  2. Offline

    Zombie_Striker

  3. Offline

    DragonFighter95

    Maybe you want to send a message:

    This is the code:
    player.sendMessage (ChatColor.RED + "This is an example messages!");
     
Thread Status:
Not open for further replies.

Share This Page