PreciousStones

PreciousStones

269k Downloads

Plugin breaks after player dies from Icy Death (Jack-o Death)

moneybagman opened this issue ยท 0 comments

commented

NOTE: I am running craftbukkit-1.4.5-R0.2 and I have tried the following versions of Precious Stones to no success:

Having a problem with Pstones plugin. After someone dies from an Icy Death (renamed from Jack-o Death) the Icy Deaths (every single one on the map) stops dealing damage to players and the godstones on the map also stop being able to repair/heal/feed afterwards as well. I am sure there are more precious stones which we have not tested yet which do not work correctly.

Here is the error report I get when someone dies from an Icy Death (which also causes godstones to stop working):

2012-12-19 01:39:00 [WARNING] [PreciousStones] Task #227 for PreciousStones v9.5.3-SNAPSHOT generated an exception
java.util.ConcurrentModificationException
at java.util.HashMap$HashIterator.nextEntry(HashMap.java:894)
at java.util.HashMap$KeyIterator.next(HashMap.java:928)
at net.sacredlabyrinth.Phaed.PreciousStones.managers.EntryManager.doEffects(EntryManager.java:76)
at net.sacredlabyrinth.Phaed.PreciousStones.managers.EntryManager.access$200(EntryManager.java:21)
at net.sacredlabyrinth.Phaed.PreciousStones.managers.EntryManager$Update.run(EntryManager.java:61)
at org.bukkit.craftbukkit.scheduler.CraftTask.run(CraftTask.java:53)
at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:345)
at net.minecraft.server.MinecraftServer.r(MinecraftServer.java:529)
at net.minecraft.server.DedicatedServer.r(DedicatedServer.java:222)
at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:493)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:426)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:856)

A few side-effects that I have come across after this error occurs are the following:

  • Blocks encompassed within a block's field will not show the coords of the precious stone protecting that block when right clicked with tool
  • Using /ps visualize will return "You are not inside a field" when clearly you are standing right next to an activated City Protection block
  • Pstones when right clicked with a tool will only return the owners name instead of the full list of flags and added players/groups/clans

The following shows me on my alt account using /ps visualize on my moneybagman account's City Protection Block and it returning "You are not inside a field."

The second picture is me on my moneybagman account using /ps visualize on the same stone and it working just fine. Moneybagman is op, my alt is not? Maybe that is the problem?

2012-12-18_22 02 32
2012-12-18_22 03 21