mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-13 22:25:31 +01:00
16 lines
513 B
Diff
16 lines
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
|
|
}
|