Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
MythicMobs MythicMobs
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 147
    • Issues 147
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • MythicCraft
  • MythicMobsMythicMobs
  • Issues
  • #1139

Closed
Open
Created Jun 03, 2023 by Failostirion@Failostirion

Entities in Cone / Living in Cone targets items/xp orbs

I have a skill that applies potion effects in a cone, I have tried multiple targeters (Entities and Living in Cone) and also tried adding limit = players but dropped items and xp orbs are still targeted leading to errors in console:

  • [Sat 15:10:34 ERROR MythicMobs] [31m[SCHEDULER] Exception thrown whilst executing task[37m ! [Sat 15:10:34 WARN ] java.lang.ClassCastException: class org.bukkit.craftbukkit.v1_19_R3.entity.CraftItem cannot be cast to class org.bukkit.entity.LivingEntity (org.bukkit.craftbukkit.v1_19_R3.entity.CraftItem and org.bukkit.entity.LivingEntity are in unnamed module of loader java.net.URLClassLoader @3d82c5f3) ! [Sat 15:10:34 WARN ] at MythicMobs-5.3.0-SNAPSHOT.jar//io.lumine.mythic.core.skills.mechanics.PotionMechanic.castAtEntity(PotionMechanic.java:71)
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking