mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-05 02:22:12 +01:00
Added the ability to retrieve a world's Seed.
By: Rigby <rigby@onarandombox.com>
This commit is contained in:
parent
e5a4f1c9cc
commit
18394a8207
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…
Reference in a new issue