Minecraft Comes Alive (MCA)

Minecraft Comes Alive (MCA)

13M Downloads

[1.7.2] Language doesn't load server-side.

Closed this issue · 1 comments

commented

---- Minecraft Crash Report ----
// Would you like a cupcake?
Time: 27/02/14 13:21
Description: Ticking entity
java.lang.IllegalArgumentException: n must be positive
at java.util.Random.nextInt(Unknown Source)
at mca.core.util.Utility.getRandomName(Utility.java:68)
at mca.entity.EntityVillagerAdult.(EntityVillagerAdult.java:112)
at mca.core.util.object.VillageHelper.tick(VillageHelper.java:75)
at mca.entity.EntityVillagerAdult.updateVillage(EntityVillagerAdult.java:722)
at mca.entity.EntityVillagerAdult.func_70071_h_(EntityVillagerAdult.java:283)
at net.minecraft.world.World.func_72866_a(World.java:2101)
at net.minecraft.world.WorldServer.func_72866_a(WorldServer.java:674)
at net.minecraft.world.World.func_72870_g(World.java:2064)
at net.minecraft.world.World.func_72939_s(World.java:1916)
at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:512)
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:658)
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:331)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:569)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:454)
at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:706)

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

-- Head --
Stacktrace:
at java.util.Random.nextInt(Unknown Source)
at mca.core.util.Utility.getRandomName(Utility.java:68)
at mca.entity.EntityVillagerAdult.(EntityVillagerAdult.java:112)
at mca.core.util.object.VillageHelper.tick(VillageHelper.java:75)
at mca.entity.EntityVillagerAdult.updateVillage(EntityVillagerAdult.java:722)
at mca.entity.EntityVillagerAdult.func_70071_h_(EntityVillagerAdult.java:283)
at net.minecraft.world.World.func_72866_a(World.java:2101)
at net.minecraft.world.WorldServer.func_72866_a(WorldServer.java:674)
at net.minecraft.world.World.func_72870_g(World.java:2064)
-- Entity being ticked --
Details:
Entity Type: mca.EntityVillagerAdult (mca.entity.EntityVillagerAdult)
Entity ID: 706
Entity Name: entity.mca.EntityVillagerAdult.name
Entity's Exact location: -147.40, 69.00, 83.70
Entity's Block location: World: (-148,69,83), Chunk: (at 12,4,3 in -10,5; contains blocks -160,0,80 to -145,255,95), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,0,0 to -1,255,511)
Entity's Momentum: 0.04, -0.08, 0.00
Stacktrace:
at net.minecraft.world.World.func_72939_s(World.java:1916)
at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:512)
-- Affected level --
Details:
Level name: Adventure 1
All players: 1 total; [EntityPlayerMP['LittleSpectre'/978, l='Adventure 1', x=-155.33, y=64.00, z=83.62]]
Chunk stats: ServerChunkCache: 1053 Drop: 0
Level seed: -3177707579634392630
Level generator: ID 02 - largeBiomes, ver 0. Features enabled: true
Level generator options:
Level spawn location: World: (-24,64,-56), Chunk: (at 8,4,8 in -2,-4; contains blocks -32,0,-64 to -17,255,-49), Region: (-1,-1; contains chunks -32,-32 to -1,-1, blocks -512,0,-512 to -1,255,-1)
Level time: 8085113 game time, 9719376 day time
Level dimension: 0
Level storage version: 0x04ABD - Anvil
Level weather: Rain time: 50695 (now: false), thunder time: 86921 (now: false)
Level game mode: Game mode: survival (ID 0). Hardcore: false. Cheats: false
Stacktrace:
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:658)
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:331)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:569)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:454)
at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:706)
-- System Details --
Details:
Minecraft Version: 1.7.2
Operating System: Windows 8 (amd64) version 6.2
Java Version: 1.7.0_51, Oracle Corporation
Java VM Version: Java HotSpotâ„¢ 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 4935576200 bytes (4706 MB) / 5145886720 bytes (4907 MB) up to 5145886720 bytes (4907 MB)
JVM Flags: 2 total; -Xms5G -Xmx5G
AABB Pool Size: 6250 (350000 bytes; 0 MB) allocated, 793 (44408 bytes; 0 MB) used
IntCache: cache: 0, tcache: 0, allocated: 13, tallocated: 103
FML: MCP v9.01-pre FML v7.2.125.1034 Minecraft Forge 10.12.0.1034 7 mods loaded, 7 mods active
mcp{8.09} Minecraft Coder Pack Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
FML{7.2.125.1034} Forge Mod Loader Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
Forge{10.12.0.1034} Minecraft Forge Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
CustomSpawner{3.2.0.dev.R1} [DrZhark's CustomSpawner](CustomMobSpawner 3.2.0-DEV-R1.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
MoCreatures{6.2.0.dev.R1} [DrZhark's Mo'Creatures Mod](DrZharks MoCreatures Mod v6.2.0-DEV-R1.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
radixcore{1.0.0} [RadixCore](RadixCore-0.8.0.Alpha MC-1.7.2.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
mca{4.0.0.Alpha} [Minecraft Comes Alive](MCA-4.0.0.Alpha MC-1.7.2.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
Profiler Position: N/A (disabled)
Vec3 Pool Size: 1752 (98112 bytes; 0 MB) allocated, 199 (11144 bytes; 0 MB) used
Player Count: 1 / 3; [EntityPlayerMP['LittleSpectre'/978, l='Adventure 1', x=-155.33, y=64.00, z=83.62]]
Is Modded: Definitely; Server brand changed to 'fml,forge'
Type: Dedicated Server (map_server.txt)

commented

Crash occurs when villagers are being overwritten due to the villager name lists being empty. Server does not load MCA's langauge files and therefore leaves the names lists are empty.