geforkt von Mirrors/Paper
Fix yaw on player spawn (#6409)
Dieser Commit ist enthalten in:
Ursprung
f9143cf9ec
Commit
5da877975c
@ -55,7 +55,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
+ if (event.getLocation() != null) {
|
||||
+ dimension = event.getLocation().getWorld() != null ? ((CraftWorld) event.getLocation().getWorld()).getHandle().dimension() : dimension;
|
||||
+ pos = net.minecraft.server.MCUtil.toBlockPosition(event.getLocation());
|
||||
+ angle = (float) event.getLocation().getY();
|
||||
+ angle = (float) event.getLocation().getYaw();
|
||||
+ spawnPointSet = event.isForced();
|
||||
+ // Paper end
|
||||
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren