MCPcopy Create free account
hub / github.com/Teneted/Tenet / setWorld

Method setWorld

src/main/java/org/bukkit/Location.java:70–72  ·  view source on GitHub ↗

Sets the world that this location resides in @param world New world that this location resides in

(@Nullable World world)

Source from the content-addressed store, hash-verified

68 * @param world New world that this location resides in
69 */
70 public void setWorld(@Nullable World world) {
71 this.world = (world == null) ? null : new WeakReference<>(world);
72 }
73
74 /**
75 * Checks if world in this location is present and loaded.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected