mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-07 11:05:13 +01:00
parent
aba0972e9a
commit
98756897b7
1 changed files with 6 additions and 0 deletions
|
@ -75,6 +75,7 @@ import org.bukkit.Effect;
|
||||||
import org.bukkit.FluidCollisionMode;
|
import org.bukkit.FluidCollisionMode;
|
||||||
import org.bukkit.GameRule;
|
import org.bukkit.GameRule;
|
||||||
import org.bukkit.Location;
|
import org.bukkit.Location;
|
||||||
|
import org.bukkit.NamespacedKey;
|
||||||
import org.bukkit.Particle;
|
import org.bukkit.Particle;
|
||||||
import org.bukkit.Raid;
|
import org.bukkit.Raid;
|
||||||
import org.bukkit.Sound;
|
import org.bukkit.Sound;
|
||||||
|
@ -581,6 +582,11 @@ public class CraftWorld extends CraftRegionAccessor implements World {
|
||||||
return world.uuid;
|
return world.uuid;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public NamespacedKey getKey() {
|
||||||
|
return CraftNamespacedKey.fromMinecraft(world.dimension().location());
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
return "CraftWorld{name=" + getName() + '}';
|
return "CraftWorld{name=" + getName() + '}';
|
||||||
|
|
Loading…
Reference in a new issue