style: typo
This commit is contained in:
parent
2733db99fe
commit
3ad1adb264
1 changed files with 2 additions and 2 deletions
|
@ -35,8 +35,8 @@ public class v1_19_R1 implements Internals {
|
||||||
final EntityPlayer entityPlayer = ((CraftPlayer) player).getHandle();
|
final EntityPlayer entityPlayer = ((CraftPlayer) player).getHandle();
|
||||||
final ResourceKey<World> levelResourceKey = entityPlayer.x().ab();
|
final ResourceKey<World> levelResourceKey = entityPlayer.x().ab();
|
||||||
final CraftWorld world = entityPlayer.s.getWorld();
|
final CraftWorld world = entityPlayer.s.getWorld();
|
||||||
// last boolean is: "has death location" attribute, if true, the optional contains the death dimension and positon.
|
// last boolean is: "has death location" attribute, if true, the optional contains the death dimension and position.
|
||||||
// with the boolean being false, we don't need to provide a value and thus we return an empty optional.
|
// with the boolean being false, we don't need to provide a value, and thus we return an empty optional.
|
||||||
final PacketPlayOutRespawn respawn = new PacketPlayOutRespawn(entityPlayer.x().Z(),
|
final PacketPlayOutRespawn respawn = new PacketPlayOutRespawn(entityPlayer.x().Z(),
|
||||||
levelResourceKey, world.getSeed(),
|
levelResourceKey, world.getSeed(),
|
||||||
entityPlayer.d.b(), entityPlayer.d.c(),
|
entityPlayer.d.b(), entityPlayer.d.c(),
|
||||||
|
|
Loading…
Reference in a new issue