mojira.dev
MC-61895

Crash when putting the default spawn egg in Monster Spawner

When you try to put the default spawn egg in Monster Spawner the game crashes.

Description: Exception ticking world
java.lang.NullPointerException: Exception ticking world
	at apd.f(SourceFile:40)
	at apd.b(SourceFile:226)
	at bbb.b(SourceFile:50)
	at bbb.q(SourceFile:61)
	at qg.a(SourceFile:168)
	at qg.b(SourceFile:131)
	at qf.b(SourceFile:208)
	at qi.c(SourceFile:202)
	at net.minecraft.server.MinecraftServer.x(SourceFile:578)
	at net.minecraft.server.MinecraftServer.w(SourceFile:510)
	at cui.w(SourceFile:132)
	at net.minecraft.server.MinecraftServer.run(SourceFile:426)
	at java.lang.Thread.run(Unknown Source)

Linked issues

Attachments

Comments 6

Isn't this a logical crash? I mean, Minecraft doesn't know WHAT to spawn.

Maybe, but nevertheless it should not crash but simply spawn nothing.

same goes for the item spawn egg

give playername spawn_egg 1 1

works fine with a lot of other entity's (tnt,xp,mobs)

Cannot confirm for 1.8.5

Michael

(Unassigned)

Confirmed

Minecraft 14w28b, Minecraft 14w30c, Minecraft 1.8

Minecraft 1.8.4

Retrieved