fixed cross world teleport
Dieser Commit ist enthalten in:
Ursprung
66109d6e57
Commit
ebc478388c
@ -173,10 +173,8 @@ public class CraftPlayer extends CraftHumanEntity implements Player {
|
|||||||
|
|
||||||
if (oldWorld != newWorld) {
|
if (oldWorld != newWorld) {
|
||||||
this.entity = manager.a(entity, newWorld.dimension, false);
|
this.entity = manager.a(entity, newWorld.dimension, false);
|
||||||
return true;
|
|
||||||
} else {
|
|
||||||
return entity.netServerHandler.teleport(location);
|
|
||||||
}
|
}
|
||||||
|
return entity.netServerHandler.teleport(location);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setSneaking(boolean sneak) {
|
public void setSneaking(boolean sneak) {
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren