Skip to content
This repository was archived by the owner on Jun 20, 2025. It is now read-only.
This repository was archived by the owner on Jun 20, 2025. It is now read-only.

Game-breaking bug with chance cubes #892

@BeanyBoi69

Description

@BeanyBoi69

Bug Report

Servers will enter a crash loop when a mob enters a chance cube's potion spray.

Steps to Reproduce (for bugs)

  1. Open Chance Cube
  2. Let it spawn a bunch of potions
  3. Let a mob walk into it

Logs

Client Information

  • Modpack Version: 1.0.37
  • Server/LAN/Single Player: Server
  • Optifine Installed: Nope
  • Shaders Enabled: Nope

Additional Info

The actual problem (according to my server):

[14:03:14] [Server thread/ERROR] [FML]: Exception caught during firing event net.minecraftforge.event.entity.living.LivingEvent$LivingUpdateEvent@4f73c3d3:
java.lang.ClassCastException: net.minecraft.entity.monster.EntityZombie cannot be cast to net.minecraft.entity.player.EntityPlayer
        at com.lothrazar.cyclicmagic.potion.effect.PotionSaturation.tick(PotionSaturation.java:51) ~[PotionSaturation.class:?]
        at com.lothrazar.cyclicmagic.potion.EventPotionTick.onEntityUpdate(EventPotionTick.java:45) ~[EventPotionTick.class:?]
        at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_1757_EventPotionTick_onEntityUpdate_LivingUpdateEvent.invoke(.dynamic) ~[?:?]
        at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90) ~[ASMEventHandler.class:?]
        at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:182) [EventBus.class:?]
        at net.minecraftforge.common.ForgeHooks.onLivingUpdate(ForgeHooks.java:581) [ForgeHooks.class:14.23.5.2854]
        at net.minecraft.entity.EntityLivingBase.func_70071_h_(EntityLivingBase.java:2095) [vp.class:?]
        at net.minecraft.entity.EntityLiving.func_70071_h_(EntityLiving.java:295) [vq.class:?]
        at net.minecraft.entity.monster.EntityMob.func_70071_h_(EntityMob.java:50) [ade.class:?]
        at net.minecraft.world.World.func_72866_a(World.java:1996) [amu.class:?]
        at net.minecraft.world.WorldServer.func_72866_a(WorldServer.java:832) [oo.class:?]
        at net.minecraft.world.World.func_72870_g(World.java:1958) [amu.class:?]
        at net.minecraft.world.World.func_72939_s(World.java:1762) [amu.class:?]
        at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:613) [oo.class:?]
        at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:767) [MinecraftServer.class:?]
        at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:397) [nz.class:?]
        at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:668) [MinecraftServer.class:?]
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:526) [MinecraftServer.class:?]
        at java.lang.Thread.run(Thread.java:750) [?:1.8.0_372]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions