Task #18....Task #18...Task #18 -_- #25


  • Defect
  • Accepted
Open
Assigned to LargoUsagi
  • MCManCub created this issue Nov 12, 2012

    What steps will reproduce the problem?
    1. Starting my server.

    What is the expected output? What do you see instead?
    Nothing;

    2012-11-12 09:56:23 [WARNING] [CitizenSkins] Task #18 for CitizenSkins v2.0.12.42-b generated an exception
    java.lang.ClassCastException

    What version of the product are you using?
    Latest

    Do you have an error log of what happened?
    2012-11-12 09:56:23 [WARNING] [CitizenSkins] Task #18 for CitizenSkins v2.0.12.42-b generated an exception
    java.lang.ClassCastException

    Please provide any additional information below.
    I've been getting this every few seconds with the latest build. I'm not doing anything out of the ordinary.

    MC

  • MCManCub added the tags New Defect Nov 12, 2012
  • MCManCub posted a comment Nov 12, 2012

    This is an update with a longer (but virtually same) message.

    2012-11-12 09:59:13 [WARNING] [CitizenSkins] Task #18 for CitizenSkins v2.0.12.42-b generated an exception
    java.lang.ClassCastException: net.citizensnpcs.npc.entity.CitizensWolfNPC$WolfNPC cannot be cast to org.bukkit.entity.Player
    at com.citizenskins.core.CSAppearanceManager.setSkin(CSAppearanceManager.java:118)
    at com.citizenskins.core.CSAppearanceManager.ApplySkin(CSAppearanceManager.java:101)
    at com.citizenskins.core.CSAppearanceManager.loadNPCSkin(CSAppearanceManager.java:44)
    at com.citizenskins.core.CSAppearanceManager.ReloadSkins(CSAppearanceManager.java:66)
    at com.citizenskins.core.SkinTask.run(SkinTask.java:20)
    at org.bukkit.craftbukkit.scheduler.CraftTask.run(CraftTask.java:52)
    at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:321)
    at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:536)
    at net.minecraft.server.DedicatedServer.q(DedicatedServer.java:245)
    at net.minecraft.server.MinecraftServer.p(MinecraftServer.java:500)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:418)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)
    

    As you can see, this happens because I have an NPC that is disguised as a wolf. Can you add exceptions for this?

    MC


    Edited Nov 12, 2012
  • LargoUsagi posted a comment Nov 12, 2012

    Yes I will actually write something to allow either the skinning of the other NPC's with the proper skin files or not apply the skin if they aren't a human NPC

  • LargoUsagi removed a tag New Nov 12, 2012
  • LargoUsagi added a tag Accepted Nov 12, 2012

To post a comment, please login or register a new account.