Solved 1.13 commands?

Discussion in 'Plugin Development' started by iChameleon, Jul 23, 2018.

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

    iChameleon

    When porting a plugin from 1.12.2 to 1.13 I now get this error:
    Code:
    Implicit super constructor CommandExecute() is undefined for default constructor. Must define an explicit constructor
    for this code that worked fine in 1.12.2:
    Code:
    public class Commands extends CommandExecute implements Listener, CommandExecutor {
    I didn't see any changes to commands stated in the changelogs but did I miss something?
     
  2. Offline

    Zombie_Striker

    @iChameleon
    I don't think CommandExecute is a bukkit class. Where are you importing it from?
     
  3. Offline

    iChameleon

    Code:
    import net.minecraft.server.v1_13_R1.CommandExecute;
    After playing around with it though I got this code to work:
    Code:
    public class Commands implements CommandExecutor {
     
Thread Status:
Not open for further replies.

Share This Page