Pokécube Resources

Pokécube Resources

913 Downloads

Description: Ticking entity

Snez0kRU opened this issue · 2 comments

commented

Issue Description:

Description: Ticking entity

What happens:

java.lang.ClassCastException: pokecube.core.interfaces.capabilities.DefaultPokemob cannot be cast to net.minecraft.entity.Entity
at pokecube.core.moves.templates.Move_Explode.attack(Move_Explode.java:156)
at pokecube.core.moves.MovesUtils.doAttack(MovesUtils.java:359)
at pokecube.core.moves.animations.EntityMoveUse.doMoveUse(EntityMoveUse.java:219)
at pokecube.core.moves.animations.EntityMoveUse.func_70071_h_(EntityMoveUse.java:187)
at org.spongepowered.common.event.tracking.TrackingUtil.tickEntity(TrackingUtil.java:159)
at net.minecraft.world.WorldServer.redirect$onCallEntityUpdate$zkb000(WorldServer.java:2843)
at net.minecraft.world.World.func_72866_a(World.java:4072)
at net.minecraft.world.WorldServer.func_72866_a(WorldServer.java:839)
at net.minecraft.world.World.func_72870_g(World.java:1934)
at net.minecraft.world.World.func_72939_s(World.java:6002)
at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:2185)
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:709)
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:387)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:613)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:471)
at java.lang.Thread.run(Thread.java:748)

What you expected to happen:

When pokemon use explosion server crashing
Here is Crash report:
crash-2017-07-28_13.19.47-server.txt

Steps to reproduce:

1.Download all from modlists
2.Go to expl. pokemon
...


Affected Versions (Do not use "latest"):

modlist
Minecraft 1.10.2

commented

fixed in 4.33.5

commented

this wlil be fixed in 4.33.5.

current workaround until the release: set explosions to false in pokecube.cfg, that will by-pass the section of code causing this crash.