SPIGOT-6244: /spawnpoint ignores angle
This commit is contained in:
parent
8b3b096d1a
commit
4475707d74
@ -479,7 +479,7 @@
|
|||||||
+ entityplayer1.setRespawnPosition(worldserver1.getDimensionKey(), blockposition, f, flag1, false);
|
+ entityplayer1.setRespawnPosition(worldserver1.getDimensionKey(), blockposition, f, flag1, false);
|
||||||
+ flag2 = !flag && flag3;
|
+ flag2 = !flag && flag3;
|
||||||
+ isBedSpawn = true;
|
+ isBedSpawn = true;
|
||||||
+ location = new Location(worldserver1.getWorld(), vec3d.x, vec3d.y, vec3d.z);
|
+ location = new Location(worldserver1.getWorld(), vec3d.x, vec3d.y, vec3d.z, f1, 0.0F);
|
||||||
+ } else if (blockposition != null) {
|
+ } else if (blockposition != null) {
|
||||||
+ entityplayer1.playerConnection.sendPacket(new PacketPlayOutGameStateChange(PacketPlayOutGameStateChange.a, 0.0F));
|
+ entityplayer1.playerConnection.sendPacket(new PacketPlayOutGameStateChange(PacketPlayOutGameStateChange.a, 0.0F));
|
||||||
+ }
|
+ }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user