Search results

  1. Zymo

    java: no suitable constructor found for ...

    Ok, I've corrected your code, but next time just look for what you're doing wrong or see some tutorials. These are the basics, so you shouldn't have any problem finding a good tutorial. First of all before you cast you must be sure that the object you want to cast is similar or the same object...
  2. Zymo

    ItemStack cannot resolve method

    Try this: @Override public boolean onCommand(@NotNull CommandSender sender, @NotNull Command command, @NotNull String label, @NotNull String[] args) { if (!(sender instanceof Player)) { return true; } Player player = (Player) sender...
  3. Zymo

    Question Change Skin with a command?

    I found a solution. Even though the author may have forgotten about this post, I'll show you the solution: Okay, here's the code, but what's going on here? Well, first you need to get the player's uuid, because there is no information whether the server is offline or online. On offline...
  4. Zymo

    Question Change Skin with a command?

    I have a similar problem.