示例#1
0
 public void a(NBTTagCompound nbttagcompound) {
   super.a(nbttagcompound);
   if (nbttagcompound.b("playerGameType")) {
     // XXX Check this, it was only the last call to this.c.a
     if (MinecraftServer.D().am()) {
       this.c.a(MinecraftServer.D().g());
     } else {
       this.c.a(EnumGameType.a(nbttagcompound.e("playerGameType")));
     }
   }
 }
示例#2
0
 public void a(EnumGameType enumgametype) {
   this.c.a(enumgametype);
   this.a.b(new Packet70GameEvent(3, enumgametype.a()));
 }