Spigot NoAI plugin - Disable or Enable moving and target 1.2

Disable/Enable moving and target for entities

  1. tade159SK submitted a new resource:

    NoAI plugin - Disable/Enable moving and target for entities

    Read more about this resource...
     
  2. @tade159SK Having some troubles with using this in my plugin. This line here is throwing a ClassNotFoundException:
    Code (Text):
    //where my entity is defined.
    final LivingEntity e = (LivingEntity) player.getWorld().spawnEntity(player.getLocation().add(0, 0, 1), EntityType.SQUID);

    //The line that throws the error.
    NoAI.setNoAI(e);
    This is the issue trace on my server:
    From my interpretation of your plugin page, this is how the line is suppose to be used. Am I not actually understanding how it can be used properly?
     
  3. You have plugin NoAI on your server?
     
  4. ...I'm an idiot. Sorry :)
     
  5. :D :D :D
     
  6. does this still work? (as I might be using it for legacy support in StackMob)
     
  7. Only Spigot 1.8.x