mojira.dev
MC-93687

Spawn Eggs Don't Work In Survival

When you use your last spawn egg in survival mode, the count goes from "1" to "0". When you try and place down this Spawn Egg, it crashes your game. When you reload the world, the count is now "-1".

To Reproduce:
1. Create a new world
2. Give yourself 1 of any spawn egg
3. Place down the spawn egg in survival
4. It should be count "0"

Non-Forced Crash Report:

---- Minecraft Crash Report ----
// But it works on my machine.

Time: 12/3/15 3:13 AM
Description: Unexpected error

java.lang.NullPointerException: Unexpected error
	at rx.a_(SourceFile:409)
	at zo.a(SourceFile:1818)
	at rx.a(SourceFile:1198)
	at bbz.au(SourceFile:1435)
	at bbz.ax(SourceFile:1934)
	at bbz.aw(SourceFile:1752)
	at bbz.s(SourceFile:1596)
	at bbz.as(SourceFile:942)
	at bbz.a(SourceFile:386)
	at net.minecraft.client.main.Main.main(SourceFile:122)


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

-- Head --
Stacktrace:
	at rx.a_(SourceFile:409)
	at zo.a(SourceFile:1818)
	at rx.a(SourceFile:1198)
	at bbz.au(SourceFile:1435)
	at bbz.ax(SourceFile:1934)
	at bbz.aw(SourceFile:1752)

-- Affected level --
Details:
	Level name: MpServer
	All players: 1 total; [bmg['MinecraftSpace'/2, l='MpServer', x=4.02, y=64.00, z=2.08]]
	Chunk stats: MultiplayerChunkCache: 784, 784
	Level seed: 0
	Level generator: ID 01 - flat, ver 0. Features enabled: false
	Level generator options: 
	Level spawn location: World: (-4,64,0), Chunk: (at 12,4,0 in -1,0; contains blocks -16,0,0 to -1,255,15), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,0,0 to -1,255,511)
	Level time: 63160 game time, 6000 day time
	Level dimension: 0
	Level storage version: 0x00000 - Unknown?
	Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false)
	Level game mode: Game mode: survival (ID 0). Hardcore: false. Cheats: false
	Forced entities: 2 total; [bmg['MinecraftSpace'/2, l='MpServer', x=4.02, y=64.00, z=2.08], vu['Cow'/798, l='MpServer', x=6.50, y=64.00, z=2.50]]
	Retry entities: 0 total; []
	Server brand: vanilla
	Server type: Integrated singleplayer server
Stacktrace:
	at bkh.a(SourceFile:364)
	at bbz.b(SourceFile:2496)
	at bbz.a(SourceFile:400)
	at net.minecraft.client.main.Main.main(SourceFile:122)

-- System Details --
Details:
	Minecraft Version: 15w49a
	Operating System: Windows 7 (amd64) version 6.1
	Java Version: 1.8.0_25, Oracle Corporation
	Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
	Memory: 266836136 bytes (254 MB) / 658935808 bytes (628 MB) up to 1020067840 bytes (972 MB)
	JVM Flags: 6 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx1G -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn512M
	IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
	Launched Version: 15w49a
	LWJGL: 2.9.4
	OpenGL: AMD Radeon HD 6700M Series GL version 4.5.13399 Compatibility Profile Context 15.200.1062.1004, ATI Technologies Inc.
	GL Caps: Using GL 1.3 multitexturing.
Using GL 1.3 texture combiners.
Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported.
Shaders are available because OpenGL 2.1 is supported.
VBOs are available because OpenGL 1.5 is supported.

	Using VBOs: Yes
	Is Modded: Probably not. Jar signature remains and client brand is untouched.
	Type: Client (map_client.txt)
	Resource Packs: Faithful 32x32 (incompatible), Chair RP
	Current Language: English (US)
	Profiler Position: N/A (disabled)
	CPU: 8x Intel(R) Core(TM) i7-2630QM CPU @ 2.00GHz

Linked issues

Attachments

Comments 0

No comments.

Space

(Unassigned)

Unconfirmed

Minecraft 15w49a

Retrieved