Credits are not shown when leaving end for the first time but after that are always shown
The bug
Credits only appear when you have left the end at least one time respectively when the seenCredits tag of a player is already true (1b).
How to reproduce
- Create a new world
- Go to the end
- Beat the dragon for the first time
- Go through the portal back to the Overworld
→ The credits are not shown - Go to the end again
- Go through the portal back to the Overworld
→ Now the credits are shown
Code analysis
Based on a decompiled version of 17w13a
It looks like the values for the SPacketChangeGameState packet (deobfuscated name: id) are just interchanged when the method EntityPlayerMP.changeDimension(int) (deobfuscated name: nn.b(int)) creates it. It should use 1.0f when the player has not seen the credits yet.
2017-03-31, 02:46 PM
2017-04-30, 05:02 PM
2017-04-11, 02:19 PM
3
1
credits, end, end-portal, player