Updating Sponge - Pixelmon issue

Hey so I’m currently using an outdated version of sponge 4.1.0. Beta 1285 and I wanted to update to the latest recommended one, yet when I swap the mod for the newer one and launch the server ranch blocks when bananas,
Everything was fine but i kept crashing everytime a player near a ranch block joined.
I had to swap back to the old one. Here’s an example of the crash log, they are all identical.

How do I update without this issue? Cuz its kinda hard to ask every1 to disable their ranchs.

— Minecraft Crash Report ----

WARNING: coremods are present:
SpongeCoremod (spongeforge-1.8.9-1890-4.1.0-BETA-1320.jar)
Java8CheckerCoremod (Pixelmon-1.8.9-4.2.5-universal.jar)
Contact their authors BEFORE contacting forge

// Don’t do that.

Time: 15/05/16 17:32
Description: Ticking block entity

java.lang.IllegalStateException: Entity EntityPixelmon[‘Eevee’/4392, l=‘GarysMonv1_0’, x=1005.00, y=65.00, z=-1418.00] already spawned in the world!
at com.google.common.base.Preconditions.checkState(Preconditions.java:200)
at net.minecraft.world.World.checkNotSpawned(World.java:298)
at net.minecraft.world.World.handler$onSpawnEntityInWorld$0(World.java:308)
at net.minecraft.world.World.func_72838_d(World.java)
at com.pixelmonmod.pixelmon.entities.pixelmon.EntityPixelmon.releaseFromPokeball(EntityPixelmon.java:169)
at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175)
at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1374)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151)
at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418)
at com.pixelmonmod.pixelmon.blocks.ranch.TileEntityRanchBase.func_73660_a(TileEntityRanchBase.java:338)
at net.minecraft.world.World.redirect$onUpdateTileEntities$0(World.java:258)
at net.minecraft.world.World.func_72939_s(World.java:1718)
at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:545)
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:701)
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:344)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:605)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:481)
at java.lang.Thread.run(Thread.java:745)

A detailed walkthrough of the error, its code path and all known details is as follows:

– Head –
Stacktrace:
at com.google.common.base.Preconditions.checkState(Preconditions.java:200)
at net.minecraft.world.World.checkNotSpawned(World.java:298)
at net.minecraft.world.World.handler$onSpawnEntityInWorld$0(World.java:308)
at net.minecraft.world.World.func_72838_d(World.java)
at com.pixelmonmod.pixelmon.entities.pixelmon.EntityPixelmon.releaseFromPokeball(EntityPixelmon.java:169)
at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175)
at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1374)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151)
at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418)
at com.pixelmonmod.pixelmon.blocks.ranch.TileEntityRanchBase.func_73660_a(TileEntityRanchBase.java:338)
at net.minecraft.world.World.redirect$onUpdateTileEntities$0(World.java:258)

– Block entity being ticked –
Details:
Name: Ranch Block // com.pixelmonmod.pixelmon.blocks.ranch.TileEntityRanchBlock
Block type: ID #241 (tile.ranchblock // com.pixelmonmod.pixelmon.blocks.ranch.BlockRanchBlock)
Block data value: 11 / 0xB / 0b1011
Block location: World: (1005,64,-1420), Chunk: (at 13,4,4 in 62,-89; contains blocks 992,0,-1424 to 1007,255,-1409), Region: (1,-3; contains chunks 32,-96 to 63,-65, blocks 512,0,-1536 to 1023,255,-1025)
Actual block type: ID #241 (tile.ranchblock // com.pixelmonmod.pixelmon.blocks.ranch.BlockRanchBlock)
Actual block data value: 11 / 0xB / 0b1011
Stacktrace:
at net.minecraft.world.World.func_72939_s(World.java:1718)
at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:545)

– Affected level –
Details:
Level name: GarysMonv1_0
All players: 3 total; [EntityPlayerMP[‘Lopes122’/166, l=‘GarysMonv1_0’, x=50213.25, y=71.90, z=-68955.98], EntityPlayerMP[‘NoActualName’/3108, l=‘GarysMonv1_0’, x=1030.67, y=17.00, z=1038.97], EntityPlayerMP[‘Equinine’/4094, l=‘GarysMonv1_0’, x=974.37, y=64.00, z=-1445.19]]
Chunk stats: ServerChunkCache: 1124 Drop: 0
Level seed: -1995673130
Level generator: ID 00 - default, ver 1. Features enabled: true
Level generator options:
Level spawn location: 243.00,75.00,-204.00 - World: (243,75,-204), Chunk: (at 3,4,4 in 15,-13; contains blocks 240,0,-208 to 255,255,-193), Region: (0,-1; contains chunks 0,-32 to 31,-1, blocks 0,0,-512 to 511,255,-1)
Level time: 60843720 game time, 1037196 day time
Level dimension: 0
Level storage version: 0x04ABD - Anvil
Level weather: Rain time: 1 (now: false), thunder time: 1 (now: false)
Level game mode: Game mode: survival (ID 0). Hardcore: false. Cheats: true
Stacktrace:
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:701)
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:344)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:605)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:481)
at java.lang.Thread.run(Thread.java:745)

– System Details –
Details:
Minecraft Version: 1.8.9
Operating System: Linux (amd64) version 3.14.32-xxxx-std-ipv6-64
Java Version: 1.8.0_92, Oracle Corporation
Java VM Version: Java HotSpot™ 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 7665361608 bytes (7310 MB) / 12091129856 bytes (11531 MB) up to 12407799808 bytes (11833 MB)
JVM Flags: 2 total; -Xmx13G -Xms8G
IntCache: cache: 0, tcache: 0, allocated: 13, tallocated: 95
FML: MCP 9.19 Powered by Forge 11.15.1.1808 19 mods loaded, 19 mods active
States: ‘U’ = Unloaded ‘L’ = Loaded ‘C’ = Constructed ‘H’ = Pre-initialized ‘I’ = Initialized ‘J’ = Post-initialized ‘A’ = Available ‘D’ = Disabled ‘E’ = Errored
UCHIJAAAA mcp{9.19} [Minecraft Coder Pack] (minecraft.jar)
UCHIJAAAA FML{8.0.99.99} [Forge Mod Loader] (forge-1.8.9-11.15.1.1808-universal.jar)
UCHIJAAAA Forge{11.15.1.1808} [Minecraft Forge] (forge-1.8.9-11.15.1.1808-universal.jar)
UCHIJAAAA sponge{DEV} [SpongeForge] (spongeforge-1.8.9-1890-4.1.0-BETA-1320.jar)
UCHIJAAAA com.github.games647.actionbroadcaster{0.4.2} [ActionBroadcaster] (ActionBroadcaster.jar)
UCHIJAAAA customnpcs{1.8.9_beta} [CustomNPCs] (CustomNpcs_1.8.9_beta(21feb16).jar)
UCHIJAAAA com.enjin.sponge{3.0.1-sponge} [EnjinMinecraftPlugin] (EMPSponge.jar)
UCHIJAAAA io.github.hsyyid.essentialcmds{8.1.2-0423f51} [EssentialCmds] (EssentialCmds-8.1.2.jar)
UCHIJAAAA pixelmon{4.2.5} [Pixelmon] (Pixelmon-1.8.9-4.2.5-universal.jar)
UCHIJAAAA ivsevs{4.1.0} [IVsEVs] (Evs-Ivs-1.8.9-4.1.0-universal.jar)
UCHIJAAAA foxcore{0.8.0-103} [FoxCore] (FoxCore-0.8.0-103-server.jar)
UCHIJAAAA foxguard{} [FoxGuard] (FoxGuard-0.18.0-249.jar)
UCHIJAAAA gameshark{4.1.0} [Gameshark (Pixelmon)] (Gameshark-1.8.9-4.1.0-universal.jar)
UCHIJAAAA ninja.leaping.permissionsex{2.0-SNAPSHOT} [PermissionsEx] (PermissionsEx-Sponge.jar)
UCHIJAAAA io.github.hsyyid.polis{2.6.1} [Polis] (Polis-2.6.1.jar)
UCHIJAAAA net.minecrell.serverlistplus{3.4.4} [ServerListPlus] (ServerListPlus-3.4.4-Universal.jar)
UCHIJAAAA totaleconomy{1.4.0} [Total Economy] (TotalEconomy-v1.4.0.jar)
UCHIJAAAA com.vexsoftware{2.1} [Votifier] (votifier-sponge.jar)
UCHIJAAAA worldedit{6.1.1} [WorldEdit] (worldedit-forge-mc1.8.9-6.1.1.jar)
Loaded coremods (and transformers):
SpongeCoremod (spongeforge-1.8.9-1890-4.1.0-BETA-1320.jar)
org.spongepowered.common.launch.transformer.SpongeSuperclassTransformer
Java8CheckerCoremod (Pixelmon-1.8.9-4.2.5-universal.jar)

Profiler Position: N/A (disabled)
Player Count: 3 / 100; [EntityPlayerMP['Lopes122'/166, l='GarysMonv1_0', x=50213.25, y=71.90, z=-68955.98], EntityPlayerMP['NoActualName'/3108, l='GarysMonv1_0', x=1030.67, y=17.00, z=1038.97], EntityPlayerMP['Equinine'/4094, l='GarysMonv1_0', x=974.37, y=64.00, z=-1445.19]]
Is Modded: Definitely; Server brand changed to 'fml,forge,sponge'
Type: Dedicated Server (map_server.txt)
1 Like

Have you tried build 1326? I think it might have fixed this.

As I said I went for the Recommended one :x I guess I can test it after next backup I make.

Let us know how it goes - for Pixelmon servers, updates are always a tentative thing. Would be neat to know which versions work with it.

1325 onwards fixes this, try using 1328 though

1 Like

Thank you both! I’ll update as soon as I get home!

Ok so I updated to 1329 and Its working fine for 30m. If i dont repost in a couple hours i think you can close. Thanks guys!

2 Likes