Sunburn 1.8 - Armor disappearing in shade #3


  • Defect
  • Started
Open
Assigned to _ForgeUser8442228
  • _ForgeUser9686522 created this issue Nov 30, 2012

    What steps will reproduce the problem?
    1. Wearing armor in the shade
    2. Wearing armor in the sun, gaining damage, and then walking into the shade.
    3.

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

    - Expect to put armor on, have it take damage when in sun, and then have armor remain on player just like normal.
    - Instead, armor disappears completely in shade. No drop, no back in inventory. It's just gone even if it has durability.
    What version of the product are you using?
    Latest. 1.8

    Do you have an error log of what happened?

    [SEVERE] org.apache.commons.lang.UnhandledException: Plugin SunBurn2 v1.8.0 generated an exception while executing task 10
        at org.bukkit.craftbukkit.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:56)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
        at java.lang.Thread.run(Thread.java:722)
    Caused by: java.util.ConcurrentModificationException
        at java.util.ArrayList$Itr.checkForComodification(ArrayList.java:819)
        at java.util.ArrayList$Itr.next(ArrayList.java:791)
        at org.bukkit.craftbukkit.CraftWorld.getLivingEntities(CraftWorld.java:545)
        at com.github.vsams14.sunburn.Burn.BurnMain(Burn.java:31)
        at com.github.vsams14.sunburn.Main$5.run(Main.java:175)
        at org.bukkit.craftbukkit.scheduler.CraftTask.run(CraftTask.java:53)
        at org.bukkit.craftbukkit.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53)
        ... 3 more

    Please provide any additional information below.

    I'm having an issue with armor disappearing when I am not in the sun. If I leave a shaded area and put on my armor as I am burning the armor seems to stick and start taking damage. As soon as I go back into the shade or put on armor in the shade the armor magically disappears (i.e. it is totally gone, no drop, no back to inventory) within a few seconds.  I have stood out in the sun and watched my armor lose durability as I imagine it is supposed to do.

    I have the armor.yml set up using the values shown on the config page. I have durability set to 5 in the config.yml. Armor_On is set to true. I am running 1.4.2. and the Sunburn version is 1.8 (the newest).

  • _ForgeUser9686522 added the tags New Defect Nov 30, 2012
  • _ForgeUser8442228 removed a tag New Nov 30, 2012
  • _ForgeUser8442228 added a tag Started Nov 30, 2012
  • _ForgeUser8442228 posted a comment Nov 30, 2012

    Does the error occur at the same time as the armour disappears?

  • _ForgeUser8442228 posted a comment Nov 30, 2012

    Because this is saying it cannot get a valid list of living entities from the world. I'll look into it some more.

  • _ForgeUser9686522 posted a comment Dec 1, 2012

    Yes, the error occurs at the same time. Thank you for looking into this.

  • _ForgeUser8525961 posted a comment Jan 3, 2013

    I'm having this issue alsoalso changing any setting disables burn player. also, does wearing less armor (eg: 1 piece of the selected) mean that its durability goes down faster?


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