mirror of
https://hub.spigotmc.org/stash/scm/spigot/craftbukkit.git
synced 2025-08-21 05:44:33 +00:00
Added the ability to retrieve a world's Seed.
This commit is contained in:
parent
1db5464d91
commit
5fff84c5a9
1 changed files with 4 additions and 0 deletions
|
@ -594,4 +594,8 @@ public class CraftWorld implements World {
|
||||||
public void setThunderDuration(int duration) {
|
public void setThunderDuration(int duration) {
|
||||||
world.worldData.b(duration);
|
world.worldData.b(duration);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public long getSeed() {
|
||||||
|
return world.worldData.b();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue