Added the ability to retrieve a world's Seed.

This commit is contained in:
Rigby 2011-04-23 17:57:25 +01:00 committed by EvilSeph
parent 1db5464d91
commit 5fff84c5a9

View file

@ -594,4 +594,8 @@ public class CraftWorld implements World {
public void setThunderDuration(int duration) {
world.worldData.b(duration);
}
public long getSeed() {
return world.worldData.b();
}
}