Esempio n. 1
0
  private void sendTileEntity(TileEntity tileentity) {
    if (tileentity != null) {
      Packet packet = tileentity.getUpdatePacket();

      if (packet != null) {
        this.sendAll(packet);
      }
    }
  }
  private void b(TileEntity tileentity) {
    if (tileentity != null) {
      Packet packet = tileentity.getUpdatePacket();

      if (packet != null) {
        this.playerConnection.sendPacket(packet);
      }
    }
  }