Ender IO Forestry

Ender IO Forestry

954k Downloads

[Stoneblock 1.0.15 Modpack] Server Hang and Force Process Kill Caused by Repellent Enchant

Incursus626 opened this issue ยท 0 comments

commented

Issue Description:

Server appears to randomly become entirely non-responsive. No way to interact with it, even from the terminal. No error messages or crashlog are generated. The server must be task-killed in order to proceed.

It appears that the Fake Player Entity from the Mob Grinding Utils Mob Masher is not being detected as a fake player, leading to the Repellent Enchant triggering the teleport, which leads to the server hang.

What happens:

Last tick 0.21062112s ago."Server thread" RUNNABLE
at java.lang.StrictMath.log(Native Method)
at java.util.Random.nextGaussian(Random.java:595)
at crazypants.enderio.base.teleport.RandomTeleportUtil.teleportEntity(RandomTeleportUtil.java:54)
at crazypants.enderio.base.enchantment.EnchantmentRepellent.func_151367_b(EnchantmentRepellent.java:55)
at net.minecraft.enchantment.EnchantmentHelper$HurtIterator.func_77493_a(EnchantmentHelper.java:465)
at net.minecraft.enchantment.EnchantmentHelper.func_77518_a(EnchantmentHelper.java:124)
at net.minecraft.enchantment.EnchantmentHelper.func_77516_a(EnchantmentHelper.java:134)
at net.minecraft.enchantment.EnchantmentHelper.func_151384_a(EnchantmentHelper.java:168)
at net.minecraft.entity.player.EntityPlayer.func_71059_n(EntityPlayer.java:1401)
at net.minecraft.entity.player.EntityPlayerMP.func_71059_n(EntityPlayerMP.java:1420)
at mob_grinding_utils.tile.TileEntitySaw.activateBlock(TileEntitySaw.java:96)
at mob_grinding_utils.tile.TileEntitySaw.func_73660_a(TileEntitySaw.java:60)
at net.minecraft.world.World.func_72939_s(World.java:1832)
at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:613)
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:767)
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:396)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:668)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:526)
at java.lang.Thread.run(Thread.java:748)

What you expected to happen:

Not this.

Steps to reproduce:

  1. Obtain a vanilla Iron Chestplate enchanted with Repellent I.
  2. Spawn a zombie. (Many zombies, because some are too picky to wear the armor)
  3. Give it the Iron Chestplate that has been enchanted with Repellent I.
  4. Place and activate the Mob Grinding Utils: Mob Masher.
  5. Have the armored zombie be killed by the Mob Masher.

Affected Versions (Do not use "latest"):

  • EnderIO: 5.0.29
  • EnderCore: 0.5.35
  • Minecraft: 1.12.2
  • Forge: 14.23.4.2707
  • SpongeForge? no
  • Optifine? no
  • Dedicated Server? yes

Your most recent log file where the issue was present:

[pastebin/gist/etc link here]