Added the ability to retrieve a world's Seed.
By: Rigby <rigby@onarandombox.com>
This commit is contained in:
@@ -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();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user