コード例 #1
0
ファイル: EntityPlayerMP.java プロジェクト: Tux2/CanaryRecode
 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
ファイル: EntityPlayerMP.java プロジェクト: Tux2/CanaryRecode
 public void a(EnumGameType enumgametype) {
   this.c.a(enumgametype);
   this.a.b(new Packet70GameEvent(3, enumgametype.a()));
 }