PreciousStones

PreciousStones

269k Downloads

IllegalArgumentException: EntityType not instance of LivingEntity

rmichela opened this issue ยท 1 comments

commented

I am trying to create a forrester block and get the following error when creatures are spawned.

11:55:17 [WARNING] Task of 'PreciousStones' generated an exception
java.lang.IllegalArgumentException: EntityType not instance of LivingEntity
        at org.apache.commons.lang.Validate.isTrue(Validate.java:157)
        at org.bukkit.craftbukkit.CraftWorld.spawnCreature(CraftWorld.java:336)
        at org.bukkit.craftbukkit.CraftWorld.spawnCreature(CraftWorld.java:331)
        at net.sacredlabyrinth.Phaed.PreciousStones.managers.ForesterManager.doCreatureSpawns(ForesterManager.java:340)
        at net.sacredlabyrinth.Phaed.PreciousStones.entries.ForesterEntry.doPlantingAttempt(ForesterEntry.java:113)
        at net.sacredlabyrinth.Phaed.PreciousStones.entries.ForesterEntry.access$100(ForesterEntry.java:12)
        at net.sacredlabyrinth.Phaed.PreciousStones.entries.ForesterEntry$Update.run(ForesterEntry.java:73)
        at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:126)
        at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:535)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:461)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)

Here is my block configuration

- title: Large Forester
  block: 5881
  radius: 20
  custom-height: 15
  forester: true
  ground-block: 2
  fertile-blocks:
  - 1
  - 3
  - 12
  - 87
  - 88
  tree-types:
  - 0
  - 0
  - 0
  - 1
  - 1
  - 2
  - 3
  - 4
  - 4
  tree-count: 64
  grow-time: 10
  shrub-types:
  - 1
  - 1
  - 1
  - 2
  - 2
  - 3
  - 4
  shrub-density: 64
  creature-types:
  - None
  - None
  - None
  - None
  - None
  - Sheep
  - Pig
  - Cow
  creature-count: 12
  no-owner: true
  no-conflict: true
commented

should be fixed in 9.1.4