Changes in 'extend' with Java 8

Discussion in 'Spigot Plugin Development' started by ElectronicWizard, May 24, 2015.

  1. .
    #1 ElectronicWizard, May 24, 2015
    Last edited: May 16, 2021
  2. JamesJ


    Full code?
    How are you adding the command (reflection, calling the class etc)
  3. Nope. Its that just that, according to Eclipse, each Sub-Command class is not of the CommandSystem type, even though they all extend CommandSystem, then super() it. It is still registering each class as a different object, instead of as the same CommandSystem object. This has not happened until Java 8.
  4. maybe you just have bad import? :p
    It must work, and it can't be caused by java 8