mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-25 00:30:25 +01:00
Save server version
This commit is contained in:
parent
7a2f486768
commit
c8f68670f5
1 changed files with 12 additions and 4 deletions
|
@ -28,7 +28,15 @@
|
|||
nbttagcompound.setLong("RandomSeed", this.e);
|
||||
nbttagcompound.setString("generatorName", this.f.b());
|
||||
nbttagcompound.setInt("generatorVersion", this.f.getVersion());
|
||||
@@ -478,6 +485,16 @@
|
||||
@@ -389,6 +396,7 @@
|
||||
nbttagcompound.set("CustomBossEvents", this.U);
|
||||
}
|
||||
|
||||
+ nbttagcompound.setString("Bukkit.Version", Bukkit.getName() + "/" + Bukkit.getVersion() + "/" + Bukkit.getBukkitVersion()); // CraftBukkit
|
||||
}
|
||||
|
||||
public long getSeed() {
|
||||
@@ -478,6 +486,16 @@
|
||||
}
|
||||
|
||||
public void setThundering(boolean flag) {
|
||||
|
@ -45,7 +53,7 @@
|
|||
this.z = flag;
|
||||
}
|
||||
|
||||
@@ -494,6 +511,16 @@
|
||||
@@ -494,6 +512,16 @@
|
||||
}
|
||||
|
||||
public void setStorm(boolean flag) {
|
||||
|
@ -62,7 +70,7 @@
|
|||
this.x = flag;
|
||||
}
|
||||
|
||||
@@ -643,6 +670,12 @@
|
||||
@@ -643,6 +671,12 @@
|
||||
|
||||
public void setDifficulty(EnumDifficulty enumdifficulty) {
|
||||
this.G = enumdifficulty;
|
||||
|
@ -75,7 +83,7 @@
|
|||
}
|
||||
|
||||
public boolean isDifficultyLocked() {
|
||||
@@ -724,4 +757,12 @@
|
||||
@@ -724,4 +758,12 @@
|
||||
public void c(@Nullable NBTTagCompound nbttagcompound) {
|
||||
this.U = nbttagcompound;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue