Example #1
0
 public NetServerHandler(
     MinecraftServer par1MinecraftServer,
     NetworkManager par2NetworkManager,
     EntityPlayerMP par3EntityPlayerMP) {
   this.mcServer = par1MinecraftServer;
   this.netManager = par2NetworkManager;
   par2NetworkManager.setNetHandler(this);
   this.playerEntity = par3EntityPlayerMP;
   par3EntityPlayerMP.playerNetServerHandler = this;
 }
Example #2
0
 public NetServerHandler(
     MinecraftServer minecraftserver,
     NetworkManager networkmanager,
     EntityPlayerMP entityplayermp) {
   connectionClosed = false;
   hasMoved = true;
   field_10_k = new HashMap();
   mcServer = minecraftserver;
   netManager = networkmanager;
   networkmanager.setNetHandler(this);
   playerEntity = entityplayermp;
   entityplayermp.playerNetServerHandler = this;
 }