Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-19 04:50:06 +01:00
Added World.getName and World.getId
Dieser Commit ist enthalten in:
Ursprung
81f920d927
Commit
603156ea29
@ -190,6 +190,14 @@ public class CraftWorld implements World {
|
|||||||
return world.l(x, y, z);
|
return world.l(x, y, z);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public String getName() {
|
||||||
|
return world.w;
|
||||||
|
}
|
||||||
|
|
||||||
|
public long getId() {
|
||||||
|
return world.u;
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
return "CraftWorld";
|
return "CraftWorld";
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren