Spawning entities.

Discussion in 'Plugin Development' started by IceReaper, Apr 3, 2012.

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

    IceReaper

    When doing this:
    world.spawnCreature(location, EntityType.ENDER_CRYSTAL);

    i get an error in console about
    org.bukkit.craftbukkit.entity.CraftEnderCrystal cannot be cast to org.bukkit.entity.LivingEntity

    Is this a bukkit bug, or is there another way to spawn entities?

    Thanks.
     
  2. Offline

    monstuhs

    Last edited by a moderator: May 25, 2016
  3. Offline

    IceReaper

    Thanks :D
     
Thread Status:
Not open for further replies.

Share This Page