Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-23 14:50:08 +01:00
16 Zeilen
513 B
Diff
16 Zeilen
513 B
Diff
--- ../work/decompile-8eb82bde//net/minecraft/server/WorldData.java Sat Nov 29 19:36:33 2014
|
|
+++ src/main/java/net/minecraft/server/WorldData.java Sat Nov 29 19:35:56 2014
|
|
@@ -645,4 +645,12 @@
|
|
static boolean q(WorldData worlddata) {
|
|
return worlddata.x;
|
|
}
|
|
+
|
|
+ // CraftBukkit start - Check if the name stored in NBT is the correct one
|
|
+ public void checkName( String name ) {
|
|
+ if ( !this.n.equals( name ) ) {
|
|
+ this.n = name;
|
|
+ }
|
|
+ }
|
|
+ // CraftBukkit end
|
|
}
|